// 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();
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; }
+ virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
+
+protected:
+ virtual bool GTKWidgetNeedsMnemonic() const;
+ virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
+
+ void DoApplyWidgetStyle(GtkRcStyle *style);
+
private:
DECLARE_DYNAMIC_CLASS(wxStaticBox)
};