]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dialup.h
renamed GlobalPtr to GlobalPtrLock
[wxWidgets.git] / include / wx / dialup.h
index 30c06f756c643ec36689798169a08e345b0748e3..2a9975fd51a3e31cdecb04f56929a2b4f7d0a42e 100644 (file)
@@ -191,7 +191,7 @@ private:
 typedef void (wxEvtHandler::*wxDialUpEventFunction)(wxDialUpEvent&);
 
 #define wxDialUpEventHandler(func) \
-    (wxObjectEventFunction)wxStaticCastEvent(wxDialUpEventFunction, &func)
+    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxDialUpEventFunction, &func)
 
 // macros to catch dialup events
 #define EVT_DIALUP_CONNECTED(func) \