const wxString& name = wxToolBarNameStr);
// Call default behaviour
- void OnPaint(wxPaintEvent& event) { Default() ; }
- void OnSize(wxSizeEvent& event) { Default() ; }
- void OnMouseEvent(wxMouseEvent& event) { Default() ; }
- void OnKillFocus(wxFocusEvent& event) { Default() ; }
+ void OnPaint(wxPaintEvent& WXUNUSED(event)) { Default() ; }
+ void OnSize(wxSizeEvent& WXUNUSED(event)) { Default() ; }
+ void OnKillFocus(wxFocusEvent& WXUNUSED(event)) { Default() ; }
+ void OnMouseEvent(wxMouseEvent& event);
// Handle wxToolBar95 events
wxSize GetToolSize(void) const;
wxSize GetMaxSize(void) const;
+
void GetSize(int *w, int *y) const;
+ wxSize GetSize() const { return wxWindow::GetSize(); }
virtual bool GetToolState(int toolIndex) const;