Added RTTI macros to wxSplashScreen.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2001-10-18 21:09:21 +00:00
parent 2654a046d7
commit d1d2cd38c4
2 changed files with 5 additions and 0 deletions

View 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()
};

View 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)