]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
ActiveX events should be sent to the window, not it's parent.
[wxWidgets.git] / src / msw / tbar95.cpp
index ab987ad5a3ada3913228200f0a90aa9b2dee17a0..d439d680f41b111378113d6a43582dcdc29d9259 100644 (file)
@@ -39,7 +39,7 @@
     #include "wx/control.h"
 #endif
 
-#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_NATIVE && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 400 && !wxUSE_POCKETPC_UI))
+#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_NATIVE && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && defined(WIN32_PLATFORM_WFSP)))
 
 #include "wx/toolbar.h"
 #include "wx/sysopt.h"