]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/taskbarcmn.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / common / taskbarcmn.cpp
index 7265473d84f4eb7642a1b6eee8ab2a25f279142f..12ab1d3d0b340db2d9c63f3ebbc0e1c6807a1e9c 100644 (file)
@@ -18,6 +18,8 @@
 
 #if wxUSE_TASKBARICON
 
 
 #if wxUSE_TASKBARICON
 
+#include "wx/taskbar.h"
+
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/list.h"
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/list.h"
@@ -29,8 +31,6 @@ extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
 // DLL options compatibility check:
 WX_CHECK_BUILD_OPTIONS("wxAdvanced")
 
 // DLL options compatibility check:
 WX_CHECK_BUILD_OPTIONS("wxAdvanced")
 
-#include "wx/taskbar.h"
-
 wxDEFINE_EVENT( wxEVT_TASKBAR_MOVE, wxTaskBarIconEvent );
 wxDEFINE_EVENT( wxEVT_TASKBAR_LEFT_DOWN, wxTaskBarIconEvent );
 wxDEFINE_EVENT( wxEVT_TASKBAR_LEFT_UP, wxTaskBarIconEvent );
 wxDEFINE_EVENT( wxEVT_TASKBAR_MOVE, wxTaskBarIconEvent );
 wxDEFINE_EVENT( wxEVT_TASKBAR_LEFT_DOWN, wxTaskBarIconEvent );
 wxDEFINE_EVENT( wxEVT_TASKBAR_LEFT_UP, wxTaskBarIconEvent );