X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d84d25dd9383c29745842d6916314ebaaf643b4c..02ac8d7a5ddbd0694b46cc5133e82eb22d935829:/include/wx/generic/splash.h diff --git a/include/wx/generic/splash.h b/include/wx/generic/splash.h index 961deb1ade..a6a580c0e9 100644 --- a/include/wx/generic/splash.h +++ b/include/wx/generic/splash.h @@ -9,7 +9,7 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "splash.h" #endif @@ -43,7 +43,13 @@ class WXDLLEXPORT wxSplashScreenWindow; class WXDLLEXPORT wxSplashScreen: public wxFrame { public: - wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds, wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSIMPLE_BORDER|wxFRAME_FLOAT_ON_PARENT); + // for RTTI macros only + wxSplashScreen() {}; + wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds, + wxWindow* parent, wxWindowID id, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP); ~wxSplashScreen(); void OnCloseWindow(wxCloseEvent& event); @@ -59,7 +65,9 @@ protected: int m_milliseconds; wxTimer m_timer; +DECLARE_DYNAMIC_CLASS(wxSplashScreen) DECLARE_EVENT_TABLE() + DECLARE_NO_COPY_CLASS(wxSplashScreen) }; /* @@ -82,7 +90,8 @@ public: protected: wxBitmap m_bitmap; -DECLARE_EVENT_TABLE() + DECLARE_EVENT_TABLE() + DECLARE_NO_COPY_CLASS(wxSplashScreenWindow) };