From 73fb82f3f3c1e722ad874d487c85249f6e866fbf Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 27 Aug 1998 07:47:25 +0000 Subject: [PATCH] wxUpdateUIEvent derives from wxCommandEvent now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/event.h | 2 +- src/common/event.cpp | 2 +- src/common/gdicmn.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/wx/event.h b/include/wx/event.h index 0ddc698573..1c58d1541c 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -863,7 +863,7 @@ protected: class WXDLLEXPORT wxMenu; class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxUpdateUIEvent: public wxEvent +class WXDLLEXPORT wxUpdateUIEvent: public wxCommandEvent { DECLARE_DYNAMIC_CLASS(wxUpdateUIEvent) diff --git a/src/common/event.cpp b/src/common/event.cpp index 2cc283f10d..14278f5373 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -54,7 +54,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxActivateEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxInitDialogEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxSysColourChangedEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxIdleEvent, wxEvent) -IMPLEMENT_DYNAMIC_CLASS(wxUpdateUIEvent, wxEvent) +IMPLEMENT_DYNAMIC_CLASS(wxUpdateUIEvent, wxCommandEvent) IMPLEMENT_DYNAMIC_CLASS(wxNavigationKeyEvent, wxCommandEvent) IMPLEMENT_DYNAMIC_CLASS(wxPaletteChangedEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxQueryNewPaletteEvent, wxEvent) diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 4bb0019e0d..81b17c2b13 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -439,7 +439,6 @@ wxBitmapList::wxBitmapList () wxBitmapList::~wxBitmapList () { - wxLogDebug("~wxBitmapList: count = %d", Number()); #ifdef __WXMSW__ wxNode *node = First ();