Fix type cast and unused parameter warning in dll/sdk sample

This commit is contained in:
Maarten Bent 2018-07-29 12:03:38 +02:00
parent 5da4e81e10
commit 268f58855b

View File

@ -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();