X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..aae24d21a33faa2a23fccde24255365ca845c46f:/include/wx/msw/tbar95.h diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index 6bbcc4a019..3a20875d47 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -46,8 +46,8 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase // Call default behaviour void OnPaint(wxPaintEvent& event) { Default() ; } void OnSize(wxSizeEvent& event) { Default() ; } - void OnMouseEvent(wxMouseEvent& event) { Default() ; } void OnKillFocus(wxFocusEvent& 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; @@ -81,8 +83,8 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase bool Realize() { return CreateTools(); }; // IMPLEMENTATION - bool MSWCommand(WXUINT param, WXWORD id); - bool MSWNotify(WXWPARAM wParam, WXLPARAM lParam); + virtual bool MSWCommand(WXUINT param, WXWORD id); + virtual bool MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM *result); // Responds to colour changes void OnSysColourChanged(wxSysColourChangedEvent& event);