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:
Julian Smart
2002-11-22 23:06:23 +00:00
parent 23c618498b
commit dbad89ddf6
2 changed files with 3 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ protected:
DECLARE_EVENT_TABLE()
};
class WXDLLEXPORT wxTabEvent: public wxCommandEvent
class WXDLLEXPORT wxTabEvent: public wxNotifyEvent
{
DECLARE_DYNAMIC_CLASS(wxTabEvent)

View File

@@ -440,10 +440,10 @@ void wxMapBitmap(HBITMAP hBitmap, int width, int height)
#endif
// Tab event
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxCommandEvent)
IMPLEMENT_DYNAMIC_CLASS(wxTabEvent, wxNotifyEvent)
wxTabEvent::wxTabEvent(wxEventType commandType, int id):
wxCommandEvent(commandType, id)
wxNotifyEvent(commandType, id)
{
}