From 268f58855b698659344226e0f518a12020a85d8b Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sun, 29 Jul 2018 12:03:38 +0200 Subject: [PATCH] Fix type cast and unused parameter warning in dll/sdk sample --- samples/dll/sdk_exe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/dll/sdk_exe.cpp b/samples/dll/sdk_exe.cpp index 298a77eb17..b090eb6afc 100644 --- a/samples/dll/sdk_exe.cpp +++ b/samples/dll/sdk_exe.cpp @@ -39,7 +39,7 @@ namespace const TCHAR *MAIN_WIN_CLASS_NAME = _TEXT("my_exe_main_win_class"); -const int IDB_RUN_GUI_FROM_DLL = 100; +const INT_PTR IDB_RUN_GUI_FROM_DLL = 100; // ---------------------------------------------------------------------------- // globals @@ -65,7 +65,7 @@ OnCommand(HWND /* hwnd */, int id, HWND /* hwndCtl */, UINT /* codeNotify */) } } -void OnDestroy(HWND hwnd) +void OnDestroy(HWND /* hwnd */) { wx_dll_cleanup();