]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
we don't need to include wx/mac/private.h, at least under OS X
[wxWidgets.git] / src / common / event.cpp
index 1aac4f55baf3bd0297a594ebb7a72a1ed039cacc..74e70d9485a136cb46131fe75db2106ad87d35ac 100644 (file)
@@ -120,6 +120,9 @@ wxList *wxPendingEvents = (wxList *)NULL;
 
 // common event types are defined here, other event types are defined by the
 // components which use them
+    
+const wxEventType wxEVT_FIRST = 10000;
+const wxEventType wxEVT_USER_FIRST = wxEVT_FIRST + 2000;
 
 DEFINE_EVENT_TYPE(wxEVT_NULL)
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_BUTTON_CLICKED)
@@ -779,8 +782,6 @@ void wxEvtHandler::ProcessPendingEvents()
 #endif
 }
 
-#endif // wxUSE_BASE
-
 /*
  * Event table stuff
  */
@@ -855,8 +856,6 @@ bool wxEvtHandler::ProcessEvent(wxEvent& event)
     return TryParent(event);
 }
 
-#if wxUSE_BASE
-
 bool wxEvtHandler::SearchEventTable(wxEventTable& table, wxEvent& event)
 {
     wxEventType eventType = event.GetEventType();