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:
@@ -43,6 +43,8 @@ class WXDLLEXPORT wxSplashScreenWindow;
|
|||||||
class WXDLLEXPORT wxSplashScreen: public wxFrame
|
class WXDLLEXPORT wxSplashScreen: public wxFrame
|
||||||
{
|
{
|
||||||
public:
|
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(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();
|
~wxSplashScreen();
|
||||||
|
|
||||||
@@ -59,6 +61,7 @@ protected:
|
|||||||
int m_milliseconds;
|
int m_milliseconds;
|
||||||
wxTimer m_timer;
|
wxTimer m_timer;
|
||||||
|
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxSplashScreen)
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -34,6 +34,8 @@
|
|||||||
|
|
||||||
#define wxSPLASH_TIMER_ID 9999
|
#define wxSPLASH_TIMER_ID 9999
|
||||||
|
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS(wxSplashScreen, wxFrame);
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxSplashScreen, wxFrame)
|
BEGIN_EVENT_TABLE(wxSplashScreen, wxFrame)
|
||||||
EVT_TIMER(wxSPLASH_TIMER_ID, wxSplashScreen::OnNotify)
|
EVT_TIMER(wxSPLASH_TIMER_ID, wxSplashScreen::OnNotify)
|
||||||
EVT_CLOSE(wxSplashScreen::OnCloseWindow)
|
EVT_CLOSE(wxSplashScreen::OnCloseWindow)
|
||||||
|
Reference in New Issue
Block a user