X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/gtk1/statbox.h?ds=sidebyside diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index abda2db802..5dc0fa19ce 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/stabox.h +// Name: wx/gtk1/statbox.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,19 +7,14 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#ifdef __GNUG__ -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- -class wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox(); @@ -40,9 +35,15 @@ 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)