aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5e59ff0..d13325c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -20,6 +20,9 @@
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
+namespace
+{
+
HWND get_dialog_item(HWND wnd, int id)
{
const auto lbl = GetDlgItem(wnd, id);
@@ -218,6 +221,8 @@ INT_PTR CALLBACK dialog_main(
}
}
+}
+
int APIENTRY wWinMain(
HINSTANCE instance,
HINSTANCE,