X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f686c274a264e89ea97505350a82c1134f307..5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046:/include/wx/msw/tbar95.h?ds=sidebyside diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index 4aae20d62a..78ef1e5ff8 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -44,10 +44,10 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase 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 @@ -68,7 +68,9 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase 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;