#ifndef __SPLITTERH_G__
#define __SPLITTERH_G__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "splitter.h"
#endif
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, \
id, \
-1, \
- (wxObjectEventFunction)(wxEventFunction)(wxSplitterEventFunction) &fn, \
+ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSplitterEventFunction, &fn ), \
NULL \
),
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, \
id, \
-1, \
- (wxObjectEventFunction)(wxEventFunction)(wxSplitterEventFunction) &fn, \
+ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSplitterEventFunction, &fn ), \
NULL \
),
wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, \
id, \
-1, \
- (wxObjectEventFunction)(wxEventFunction)(wxSplitterEventFunction) &fn, \
+ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSplitterEventFunction, &fn ), \
NULL \
),
wxEVT_COMMAND_SPLITTER_UNSPLIT, \
id, \
-1, \
- (wxObjectEventFunction)(wxEventFunction)(wxSplitterEventFunction) &fn, \
+ (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxSplitterEventFunction, &fn ), \
NULL \
),