]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/statbox.h
fixes to client area origin handling
[wxWidgets.git] / include / wx / gtk1 / statbox.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/stabox.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10
11 #ifndef __GTKSTATICBOXH__
12 #define __GTKSTATICBOXH__
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 //-----------------------------------------------------------------------------
19 // wxStaticBox
20 //-----------------------------------------------------------------------------
21
22 class wxStaticBox : public wxStaticBoxBase
23 {
24 public:
25 wxStaticBox();
26 wxStaticBox( wxWindow *parent,
27 wxWindowID id,
28 const wxString &label,
29 const wxPoint &pos = wxDefaultPosition,
30 const wxSize &size = wxDefaultSize,
31 long style = 0,
32 const wxString &name = wxStaticBoxNameStr );
33 bool Create( wxWindow *parent,
34 wxWindowID id,
35 const wxString &label,
36 const wxPoint &pos = wxDefaultPosition,
37 const wxSize &size = wxDefaultSize,
38 long style = 0,
39 const wxString &name = wxStaticBoxNameStr );
40
41 virtual void SetLabel( const wxString &label );
42
43 // implementation
44
45 void ApplyWidgetStyle();
46
47 private:
48 DECLARE_DYNAMIC_CLASS(wxStaticBox)
49 };
50
51 #endif // __GTKSTATICBOXH__