X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fa03f04345b620d1a14529b05961116b20a1297..e80edb8515cc574f8ad264f47bd9cfe9501cfc97:/include/wx/dialup.h diff --git a/include/wx/dialup.h b/include/wx/dialup.h index 30c06f756c..18b13b02a5 100644 --- a/include/wx/dialup.h +++ b/include/wx/dialup.h @@ -12,10 +12,6 @@ #ifndef _WX_DIALUP_H #define _WX_DIALUP_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "dialup.h" -#endif - #if wxUSE_DIALUP_MANAGER #include "wx/event.h" @@ -191,7 +187,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) \