]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
use HandleWindowEvent() in ProcessCommand(); return the value this function returns...
[wxWidgets.git] / src / common / event.cpp
index 0ba18aa5bce691c2240b5c9bb0e53bb7b4fe3b4b..d122c8d43484a92cf926e743004a6473067705eb 100644 (file)
 #endif
 
 #include "wx/thread.h"
-#include "wx/ptr_scpd.h"
 
-wxDECLARE_SCOPED_PTR(wxEvent, wxEventPtr)
-wxDEFINE_SCOPED_PTR(wxEvent, wxEventPtr)
+#if wxUSE_BASE
+    #include "wx/ptr_scpd.h"
+
+    wxDECLARE_SCOPED_PTR(wxEvent, wxEventPtr)
+    wxDEFINE_SCOPED_PTR(wxEvent, wxEventPtr)
+#endif // wxUSE_BASE
 
 // ----------------------------------------------------------------------------
 // wxWin macros