X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/gtk/statbox.h?ds=inline diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index abda2db802..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,10 +40,16 @@ public: virtual void SetLabel( const wxString &label ); + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation - void ApplyWidgetStyle(); + virtual bool IsTransparentForMouse() const { return TRUE; } +protected: + void DoApplyWidgetStyle(GtkRcStyle *style); + private: DECLARE_DYNAMIC_CLASS(wxStaticBox) };