]>
Commit | Line | Data |
---|---|---|
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 | 17 | class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase |
c801d85f | 18 | { |
1e6feb95 VZ |
19 | public: |
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 | |
7545e132 VS |
45 | protected: |
46 | void DoApplyWidgetStyle(GtkRcStyle *style); | |
47 | ||
1e6feb95 VZ |
48 | private: |
49 | DECLARE_DYNAMIC_CLASS(wxStaticBox) | |
50 | }; | |
dcf924a3 | 51 | |
c801d85f | 52 | #endif // __GTKSTATICBOXH__ |