X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f2ac459a122eec2fa2317765b5c30909fca750..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/statbox.h?ds=inline diff --git a/include/wx/gtk/statbox.h b/include/wx/gtk/statbox.h index 8b9c296f70..80dbb7f594 100644 --- a/include/wx/gtk/statbox.h +++ b/include/wx/gtk/statbox.h @@ -1,25 +1,19 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/stabox.h +// Name: wx/gtk/statbox.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#ifndef __GTKSTATICBOXH__ -#define __GTKSTATICBOXH__ - -#ifdef __GNUG__ -#pragma interface -#endif +#ifndef _WX_GTKSTATICBOX_H_ +#define _WX_GTKSTATICBOX_H_ //----------------------------------------------------------------------------- // wxStaticBox //----------------------------------------------------------------------------- -class wxStaticBox : public wxStaticBoxBase +class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase { public: wxStaticBox(); @@ -40,14 +34,24 @@ public: virtual void SetLabel( const wxString &label ); + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation - virtual void ApplyWidgetStyle(); + virtual bool GTKIsTransparentForMouse() const { return true; } + + virtual void GetBordersForSizer(int *borderTop, int *borderOther) const; + + virtual void AddChild( wxWindowBase *child ); + +protected: + virtual bool GTKWidgetNeedsMnemonic() const; + virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); - virtual bool IsTransparentForMouse() const { return TRUE; } + void DoApplyWidgetStyle(GtkRcStyle *style); -private: DECLARE_DYNAMIC_CLASS(wxStaticBox) }; -#endif // __GTKSTATICBOXH__ +#endif // _WX_GTKSTATICBOX_H_