Fixed toolbar gaffe.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-11-30 12:59:20 +00:00
parent e6460682a2
commit 601d9e60e1
2 changed files with 3 additions and 2 deletions

View File

@@ -44,11 +44,9 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase
const wxString& name = wxToolBarNameStr);
// Call default behaviour
/*
void OnPaint(wxPaintEvent& event) { Default() ; }
void OnSize(wxSizeEvent& event) { Default() ; }
void OnKillFocus(wxFocusEvent& event) { Default() ; }
*/
void OnMouseEvent(wxMouseEvent& event);
// Handle wxToolBar95 events

View File

@@ -75,7 +75,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxToolBar95, wxToolBarBase)
#endif
BEGIN_EVENT_TABLE(wxToolBar95, wxToolBarBase)
EVT_SIZE(wxToolBar95::OnSize)
EVT_PAINT(wxToolBar95::OnPaint)
EVT_MOUSE_EVENTS(wxToolBar95::OnMouseEvent)
EVT_KILL_FOCUS(wxToolBar95::OnKillFocus)
EVT_SYS_COLOUR_CHANGED(wxToolBar95::OnSysColourChanged)
END_EVENT_TABLE()