X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..f155075229d771430f0793700f5048ad4be00e9d:/samples/dll/my_dll.cpp diff --git a/samples/dll/my_dll.cpp b/samples/dll/my_dll.cpp index bfd6ed508f..94afd5045b 100644 --- a/samples/dll/my_dll.cpp +++ b/samples/dll/my_dll.cpp @@ -22,8 +22,8 @@ #pragma hdrstop #endif -#ifndef __WXMSW__ - #error "This sample is MSW-only" +#ifndef __WINDOWS__ + #error "This sample is Windows-only" #endif #include "wx/app.h" @@ -148,7 +148,6 @@ MyDllApp::MyDllApp() // by shutting the thread down when it's no longer needed, though. SetExitOnFrameDelete(false); - Connect(wxEVT_IDLE, wxIdleEventHandler(MyDllApp::OnIdle)); Connect(CMD_SHOW_WINDOW, wxEVT_THREAD, wxThreadEventHandler(MyDllApp::OnShowWindow));