diff --git a/samples/dll/my_dll.cpp b/samples/dll/my_dll.cpp index 8b8dfd003a..99dbedc002 100644 --- a/samples/dll/my_dll.cpp +++ b/samples/dll/my_dll.cpp @@ -186,7 +186,7 @@ HANDLE gs_wxMainThread = NULL; // wx application startup code -- runs from its own thread -__stdcall unsigned MyAppLauncher(void* event) +unsigned wxSTDCALL MyAppLauncher(void* event) { // Note: The thread that called run_wx_gui_from_dll() holds gs_wxStartupCS // at this point and won't release it until we signal it.