X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f686c274a264e89ea97505350a82c1134f307..8ffd43c56b793781fde046aa532340b92a0067eb:/include/wx/msw/tbar95.h 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;