]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/splash.h
Added wxView::OnClosingDocument so the application can do
[wxWidgets.git] / include / wx / generic / splash.h
index 961deb1ade2444065e6494fc96a2057897f24232..dc5c195930cf9d89ff82c17b60566fbcef9dcdd5 100644 (file)
@@ -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,6 +65,7 @@ protected:
     int                     m_milliseconds;
     wxTimer                 m_timer;
 
+DECLARE_DYNAMIC_CLASS(wxSplashScreen)
 DECLARE_EVENT_TABLE()
 };