X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f2ac459a122eec2fa2317765b5c30909fca750..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/include/wx/gtk/statbox.h diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 8b9c296f70..87b7372b86 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -11,7 +11,7 @@ #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#ifdef __GNUG__ +#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) };