]> git.saurik.com Git - wxWidgets.git/commitdiff
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Feb 2009 15:29:29 +0000 (15:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Feb 2009 15:29:29 +0000 (15:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/event.h
samples/event/event.cpp
src/unix/sound_sdl.cpp

index 5fee9d21411e2eecfcf959a045003d108615d576..4ebbb27f5bfc8135917217db8f1c5880ed50e771 100644 (file)
@@ -123,7 +123,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
 
     // Declare a local (not exported) wxEventType-based event type:
 
-    #define wxDECLARE_LOCAL_EVENT( name, type ) \
+    #define wxDECLARE__EVENT( name, type ) \
         wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )
 
     // Try to cast the given event handler to the correct handler type:
@@ -152,7 +152,7 @@ extern WXDLLIMPEXP_BASE wxEventType wxNewEventType();
 
     // Declare a local (not exported) templatized event type:
 
-    #define wxDECLARE_LOCAL_EVENT( name, type ) \
+    #define wxDECLARE__EVENT( name, type ) \
         wxDECLARE_EXPORTED_EVENT( wxEMPTY_PARAMETER_VALUE, name, type )
 
     // Don't cast the given event handler so that wxEvtHandler::Connect() sees
index 4461234bb94f5f734b56f1ac9e7047956e42038b..27f0d2e505498dfdd7de6fb6d2dfbab3cbb5920d 100644 (file)
@@ -35,7 +35,7 @@
 // ----------------------------------------------------------------------------
 
 // define a custom event type (we don't need a separate declaration here but
-// usually you would use a matching wxDECLARE_LOCAL_EVENT in a header)
+// usually you would use a matching wxDECLARE_EVENT in a header)
 wxDEFINE_EVENT(wxEVT_MY_CUSTOM_COMMAND, wxCommandEvent)
 
 // it may also be convenient to define an event table macro for this event type
index 4b21eeac9e358422eb7f9d3c3791b679b0306666..dff43eeaee8cbb5a1ef75be5ca400b33460768d1 100644 (file)
@@ -46,7 +46,7 @@ public:
 typedef void (wxEvtHandler::*wxSoundBackendSDLNotificationFunction)
              (wxSoundBackendSDLNotification&);
 
-wxDECLARE_LOCAL_EVENT( wxEVT_SOUND_BACKEND_SDL_NOTIFICATION, wxSoundBackendSDLNotification )
+wxDECLARE_EVENT( wxEVT_SOUND_BACKEND_SDL_NOTIFICATION, wxSoundBackendSDLNotification )
 
 #define EVT_SOUND_BACKEND_SDL_NOTIFICATON(func) \
     DECLARE_EVENT_TABLE_ENTRY(wxEVT_SOUND_BACKEND_SDL_NOTIFICATION, \