]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fdrepdlg.h
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / include / wx / fdrepdlg.h
index 8e2d8970b442afb02ed699ce312d2286a6df5c0f..4b5fb6cb59e215a67c72948c476149a623f78479 100644 (file)
@@ -176,7 +176,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))