]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fdrepdlg.h
use proper dllexport declaration with _WX_LIST_HELPER_
[wxWidgets.git] / include / wx / fdrepdlg.h
index 8e2d8970b442afb02ed699ce312d2286a6df5c0f..2adda0cbbff610a025e1a9b8c2ac7856a2a8b712 100644 (file)
 #ifndef _WX_FINDREPLACEDLG_H_
 #define _WX_FINDREPLACEDLG_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "fdrepdlg.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_FINDREPLDLG
@@ -176,7 +172,7 @@ END_DECLARE_EVENT_TYPES()
 typedef void (wxEvtHandler::*wxFindDialogEventFunction)(wxFindDialogEvent&);
 
 #define wxFindDialogEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxFindDialogEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxFindDialogEventFunction, &func)
 
 #define EVT_FIND(id, fn) \
     wx__DECLARE_EVT1(wxEVT_COMMAND_FIND, id, wxFindDialogEventHandler(fn))