X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/505af178e72ed7a4d133c301d024976e188de354..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/button.h diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index 680652b3e7..2279d82316 100644 --- a/include/wx/mac/button.h +++ b/include/wx/mac/button.h @@ -12,7 +12,7 @@ #ifndef _WX_BUTTON_H_ #define _WX_BUTTON_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "button.h" #endif @@ -42,7 +42,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - virtual void MacHandleControlClick( ControlHandle control , SInt16 controlpart ) ; + virtual void MacHandleControlClick( WXWidget control , short controlpart ) ; static wxSize GetDefaultSize(); virtual void SetDefault();