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:
@@ -44,11 +44,9 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase
|
|||||||
const wxString& name = wxToolBarNameStr);
|
const wxString& name = wxToolBarNameStr);
|
||||||
|
|
||||||
// Call default behaviour
|
// Call default behaviour
|
||||||
/*
|
|
||||||
void OnPaint(wxPaintEvent& event) { Default() ; }
|
void OnPaint(wxPaintEvent& event) { Default() ; }
|
||||||
void OnSize(wxSizeEvent& event) { Default() ; }
|
void OnSize(wxSizeEvent& event) { Default() ; }
|
||||||
void OnKillFocus(wxFocusEvent& event) { Default() ; }
|
void OnKillFocus(wxFocusEvent& event) { Default() ; }
|
||||||
*/
|
|
||||||
void OnMouseEvent(wxMouseEvent& event);
|
void OnMouseEvent(wxMouseEvent& event);
|
||||||
|
|
||||||
// Handle wxToolBar95 events
|
// Handle wxToolBar95 events
|
||||||
|
@@ -75,7 +75,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxToolBar95, wxToolBarBase)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxToolBar95, wxToolBarBase)
|
BEGIN_EVENT_TABLE(wxToolBar95, wxToolBarBase)
|
||||||
|
EVT_SIZE(wxToolBar95::OnSize)
|
||||||
|
EVT_PAINT(wxToolBar95::OnPaint)
|
||||||
EVT_MOUSE_EVENTS(wxToolBar95::OnMouseEvent)
|
EVT_MOUSE_EVENTS(wxToolBar95::OnMouseEvent)
|
||||||
|
EVT_KILL_FOCUS(wxToolBar95::OnKillFocus)
|
||||||
EVT_SYS_COLOUR_CHANGED(wxToolBar95::OnSysColourChanged)
|
EVT_SYS_COLOUR_CHANGED(wxToolBar95::OnSysColourChanged)
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user