X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/505af178e72ed7a4d133c301d024976e188de354..158b668823e14d9b42c9e7fe0281d35924192c68:/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();