X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1b293bb8df110ae772cd99fde09e5724730653a..8abbca789f34f98efa79944b1c4f6423dade2c80:/samples/dll/my_dll.cpp diff --git a/samples/dll/my_dll.cpp b/samples/dll/my_dll.cpp index bfd6ed508f..5c23dd8634 100644 --- a/samples/dll/my_dll.cpp +++ b/samples/dll/my_dll.cpp @@ -3,7 +3,6 @@ // Purpose: Sample showing how to use wx from a DLL // Author: Vaclav Slavik // Created: 2009-12-03 -// RCS-ID: $Id$ // Copyright: (c) 2009 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,8 +21,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 +147,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));