X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..3d777efedc1e05bd6c2a7c34a00a65895b62bb13:/include/wx/gtk1/statbox.h diff --git a/include/wx/gtk1/statbox.h b/include/wx/gtk1/statbox.h index c6e232c525..089c3488c9 100644 --- a/include/wx/gtk1/statbox.h +++ b/include/wx/gtk1/statbox.h @@ -1,25 +1,19 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/stabox.h +// Name: wx/gtk1/statbox.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSTATICBOXH__ #define __GTKSTATICBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface -#endif - //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- -class wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox(); @@ -40,12 +34,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) };