]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/statbox.h
Fixed compilation error
[wxWidgets.git] / include / wx / gtk1 / 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
10
11#ifndef __GTKSTATICBOXH__
12#define __GTKSTATICBOXH__
13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c801d85f
KB
15#pragma interface
16#endif
17
c801d85f
KB
18//-----------------------------------------------------------------------------
19// wxStaticBox
20//-----------------------------------------------------------------------------
21
1e6feb95 22class wxStaticBox : public wxStaticBoxBase
c801d85f 23{
1e6feb95
VZ
24public:
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
9d522606
RD
43 static wxVisualAttributes
44 GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
45
1e6feb95 46 // implementation
c801d85f 47
d1f2ac45 48 virtual bool IsTransparentForMouse() const { return TRUE; }
c801d85f 49
7545e132
VS
50protected:
51 void DoApplyWidgetStyle(GtkRcStyle *style);
52
1e6feb95
VZ
53private:
54 DECLARE_DYNAMIC_CLASS(wxStaticBox)
55};
dcf924a3 56
c801d85f 57#endif // __GTKSTATICBOXH__