fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime check for correct implementation of the Clone() function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-12-28 01:29:37 +00:00
parent 14372de82e
commit d0960f6d3b
4 changed files with 10 additions and 6 deletions

View File

@@ -49,6 +49,9 @@ enum wxBatteryState
class WXDLLIMPEXP_BASE wxPowerEvent : public wxEvent
{
public:
wxPowerEvent() // just for use by wxRTTI
: m_veto(false) { }
wxPowerEvent(wxEventType evtType) : wxEvent(wxID_NONE, evtType)
{
m_veto = false;
@@ -67,7 +70,7 @@ public:
private:
bool m_veto;
DECLARE_ABSTRACT_CLASS(wxPowerEvent)
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxPowerEvent)
};
extern WXDLLIMPEXP_BASE const wxEventType wxEVT_POWER_SUSPENDING;