X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d94c09cdc685ff1dc85365af2ba7d36fa86d1002..9c8116f8f70399b08b4af7d41861278c1c2665ab:/include/wx/dialup.h diff --git a/include/wx/dialup.h b/include/wx/dialup.h index 2a9975fd51..73819e1df8 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" @@ -24,7 +20,7 @@ // misc // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_BASE wxArrayString; +class WXDLLIMPEXP_FWD_BASE wxArrayString; #define WXDIALUP_MANAGER_DEFAULT_BEACONHOST wxT("www.yahoo.com") @@ -47,7 +43,7 @@ class WXDLLIMPEXP_BASE wxArrayString; * main thread? */ -class WXDLLEXPORT wxDialUpManager +class WXDLLIMPEXP_CORE wxDialUpManager { public: // this function should create and return the object of the @@ -156,13 +152,11 @@ public: // wxDialUpManager events // ---------------------------------------------------------------------------- -BEGIN_DECLARE_EVENT_TYPES() - DECLARE_EVENT_TYPE(wxEVT_DIALUP_CONNECTED, 450) - DECLARE_EVENT_TYPE(wxEVT_DIALUP_DISCONNECTED, 451) -END_DECLARE_EVENT_TYPES() +extern WXDLLIMPEXP_CORE const wxEventType wxEVT_DIALUP_CONNECTED; +extern WXDLLIMPEXP_CORE const wxEventType wxEVT_DIALUP_DISCONNECTED; // the event class for the dialup events -class WXDLLEXPORT wxDialUpEvent : public wxEvent +class WXDLLIMPEXP_CORE wxDialUpEvent : public wxEvent { public: wxDialUpEvent(bool isConnected, bool isOwnEvent) : wxEvent(isOwnEvent)