]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/statbox.h
don't pass unnecessary arguments to FindOrCreateBrush/Pen()
[wxWidgets.git] / include / wx / gtk / statbox.h
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
1e6feb95 2// Name: wx/gtk/stabox.h
c801d85f
KB
3// Purpose:
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
c801d85f
KB
10#ifndef __GTKSTATICBOXH__
11#define __GTKSTATICBOXH__
12
c801d85f
KB
13//-----------------------------------------------------------------------------
14// wxStaticBox
15//-----------------------------------------------------------------------------
16
20123d49 17class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
c801d85f 18{
1e6feb95
VZ
19public:
20 wxStaticBox();
21 wxStaticBox( wxWindow *parent,
22 wxWindowID id,
23 const wxString &label,
24 const wxPoint &pos = wxDefaultPosition,
25 const wxSize &size = wxDefaultSize,
26 long style = 0,
27 const wxString &name = wxStaticBoxNameStr );
28 bool Create( wxWindow *parent,
29 wxWindowID id,
30 const wxString &label,
31 const wxPoint &pos = wxDefaultPosition,
32 const wxSize &size = wxDefaultSize,
33 long style = 0,
34 const wxString &name = wxStaticBoxNameStr );
35
36 virtual void SetLabel( const wxString &label );
37
9d522606
RD
38 static wxVisualAttributes
39 GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
40
1e6feb95 41 // implementation
c801d85f 42
d1f2ac45 43 virtual bool IsTransparentForMouse() const { return TRUE; }
c801d85f 44
c1f50b06
RD
45 virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
46
7545e132 47protected:
2e1f5012
VZ
48 virtual bool GTKWidgetNeedsMnemonic() const;
49 virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
50
7545e132
VS
51 void DoApplyWidgetStyle(GtkRcStyle *style);
52
1e6feb95
VZ
53private:
54 DECLARE_DYNAMIC_CLASS(wxStaticBox)
55};
dcf924a3 56
c801d85f 57#endif // __GTKSTATICBOXH__