// 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
/////////////////////////////////////////////////////////////////////////////
#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));