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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user