wxTabEvent should derive from wxNotifyEvent, not wxCommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -126,7 +126,7 @@ protected:
|
|||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
};
|
};
|
||||||
|
|
||||||
class WXDLLEXPORT wxTabEvent: public wxCommandEvent
|
class WXDLLEXPORT wxTabEvent: public wxNotifyEvent
|
||||||
{
|
{
|
||||||
DECLARE_DYNAMIC_CLASS(wxTabEvent)
|
DECLARE_DYNAMIC_CLASS(wxTabEvent)
|
||||||
|
|
||||||
|
@@ -440,10 +440,10 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Tab event
|
// Tab event
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent)
|
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxNotifyEvent)
|
||||||
|
|
||||||
wxTabEvent::wxTabEvent(wxEventType commandType, int id):
|
wxTabEvent::wxTabEvent(wxEventType commandType, int id):
|
||||||
wxCommandEvent(commandType, id)
|
wxNotifyEvent(commandType, id)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user