]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splitter.h
added const for Mac OS X compilation
[wxWidgets.git] / include / wx / generic / splitter.h
index 53fab3546221f466f0dcb490b43563a4ad267d2e..ff65670f54c3922b866707d2bfa059e8e915f2be 100644 (file)
@@ -323,7 +323,7 @@ private:
 typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
 
 #define EVT_SPLITTER_SASH_POS_CHANGED(id, fn)                               \
-  wxEventTableEntry(                                                        \
+  DECLARE_EVENT_TABLE_ENTRY(                                                \
     wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED,                                \
     id,                                                                     \
     -1,                                                                     \
@@ -332,7 +332,7 @@ typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
   ),
 
 #define EVT_SPLITTER_SASH_POS_CHANGING(id, fn)                              \
-  wxEventTableEntry(                                                        \
+  DECLARE_EVENT_TABLE_ENTRY(                                                \
     wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING,                               \
     id,                                                                     \
     -1,                                                                     \
@@ -341,7 +341,7 @@ typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
   ),
 
 #define EVT_SPLITTER_DCLICK(id, fn)                                         \
-  wxEventTableEntry(                                                        \
+  DECLARE_EVENT_TABLE_ENTRY(                                                \
     wxEVT_COMMAND_SPLITTER_DOUBLECLICKED,                                   \
     id,                                                                     \
     -1,                                                                     \
@@ -350,7 +350,7 @@ typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
   ),
 
 #define EVT_SPLITTER_UNSPLIT(id, fn)                                        \
-  wxEventTableEntry(                                                        \
+  DECLARE_EVENT_TABLE_ENTRY(                                                \
     wxEVT_COMMAND_SPLITTER_UNSPLIT,                                         \
     id,                                                                     \
     -1,                                                                     \