X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfe9ffbc8f021c6e0e5b4243fdc8e1a0c3a1ee27..ca16b7a98e70752eb57448571d7223052834550f:/include/wx/mac/toolbar.h diff --git a/include/wx/mac/toolbar.h b/include/wx/mac/toolbar.h index d43db1e1ec..1849125750 100644 --- a/include/wx/mac/toolbar.h +++ b/include/wx/mac/toolbar.h @@ -12,7 +12,7 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "toolbar.h" #endif @@ -60,7 +60,7 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase // Add all the buttons - virtual void MacHandleControlClick( WXWidget control , short controlpart ) ; + virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; virtual wxString MacGetToolTipString( wxPoint &where ) ; void OnPaint(wxPaintEvent& event) ; void OnMouse(wxMouseEvent& event) ;