]> git.saurik.com Git - wxWidgets.git/commitdiff
Added RTTI macros to wxSplashScreen.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 18 Oct 2001 21:09:21 +0000 (21:09 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 18 Oct 2001 21:09:21 +0000 (21:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/splash.h
src/generic/splash.cpp

index 961deb1ade2444065e6494fc96a2057897f24232..c5820ef9241c568a7979c3ed21c3408ceaa432a4 100644 (file)
@@ -43,6 +43,8 @@ class WXDLLEXPORT wxSplashScreenWindow;
 class WXDLLEXPORT wxSplashScreen: public wxFrame
 {
 public:
+    // for RTTI macros obly
+    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_FLOAT_ON_PARENT);
     ~wxSplashScreen();
 
@@ -59,6 +61,7 @@ protected:
     int                     m_milliseconds;
     wxTimer                 m_timer;
 
+DECLARE_DYNAMIC_CLASS(wxSplashScreen)
 DECLARE_EVENT_TABLE()
 };
 
index 2c0d403645b3919a923c816933797fd25b877049..06d98a1e2d11b260a5da31d53d6560f82f5f3448 100644 (file)
@@ -34,6 +34,8 @@
 
 #define wxSPLASH_TIMER_ID 9999
 
+IMPLEMENT_DYNAMIC_CLASS(wxSplashScreen, wxFrame);
+
 BEGIN_EVENT_TABLE(wxSplashScreen, wxFrame)
     EVT_TIMER(wxSPLASH_TIMER_ID, wxSplashScreen::OnNotify)
     EVT_CLOSE(wxSplashScreen::OnCloseWindow)