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:
parent
2654a046d7
commit
d1d2cd38c4
@ -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()
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user