#pragma hdrstop
#endif
-#ifndef __WXMSW__
- #error "This sample is MSW-only"
+#ifndef __WINDOWS__
+ #error "This sample is Windows-only"
#endif
#include "wx/app.h"
// 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));