X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b0d8a01d184b8d410238677b2cfc0e3059e1268..ec75d791f043b3b43cac9825a2c62e9d5321e616:/include/wx/gtk/button.h diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 0fb15ad031..5b895a059e 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/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;