X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b0d8a01d184b8d410238677b2cfc0e3059e1268..8ec1974ea170256698381cc47dd1dcd6cb494433:/include/wx/gtk1/button.h diff --git a/include/wx/gtk1/button.h b/include/wx/gtk1/button.h index 0fb15ad031..5b895a059e 100644 --- a/include/wx/gtk1/button.h +++ b/include/wx/gtk1/button.h @@ -10,7 +10,7 @@ #ifndef __GTKBUTTONH__ #define __GTKBUTTONH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -65,6 +65,7 @@ public: // -------------- void ApplyWidgetStyle(); + bool IsOwnGtkWindow( GdkWindow *window ); protected: virtual wxSize DoGetBestSize() const;