X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..5b2e23bff681066c84c85399ed9a3183a7a40465:/include/wx/gtk/statbox.h diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index c6e232c525..87b7372b86 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface #endif @@ -40,12 +40,16 @@ public: virtual void SetLabel( const wxString &label ); - // implementation + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - virtual void ApplyWidgetStyle(); + // implementation virtual bool IsTransparentForMouse() const { return TRUE; } +protected: + void DoApplyWidgetStyle(GtkRcStyle *style); + private: DECLARE_DYNAMIC_CLASS(wxStaticBox) };