1 ///////////////////////////////////////////////////////////////////////////// 2 // Name: wx/gtk1/statbox.h 3 // Purpose: 4 // Author: Robert Roebling 5 // Copyright: (c) 1998 Robert Roebling 6 // Licence: wxWindows licence 7 ///////////////////////////////////////////////////////////////////////////// 8 9 #ifndef __GTKSTATICBOXH__ 10 #define __GTKSTATICBOXH__ 11 12 //----------------------------------------------------------------------------- 13 // wxStaticBox 14 //----------------------------------------------------------------------------- 15 16 class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase 17 { 18 public: 19 wxStaticBox(); 20 wxStaticBox( wxWindow *parent, 21 wxWindowID id, 22 const wxString &label, 23 const wxPoint &pos = wxDefaultPosition, 24 const wxSize &size = wxDefaultSize, 25 long style = 0, 26 const wxString &name = wxStaticBoxNameStr ); 27 bool Create( wxWindow *parent, 28 wxWindowID id, 29 const wxString &label, 30 const wxPoint &pos = wxDefaultPosition, 31 const wxSize &size = wxDefaultSize, 32 long style = 0, 33 const wxString &name = wxStaticBoxNameStr ); 34 35 virtual void SetLabel( const wxString &label ); 36 37 static wxVisualAttributes 38 GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); 39 40 // implementation 41 IsTransparentForMouse()42 virtual bool IsTransparentForMouse() const { return TRUE; } 43 44 protected: 45 void DoApplyWidgetStyle(GtkRcStyle *style); 46 47 private: 48 DECLARE_DYNAMIC_CLASS(wxStaticBox) 49 }; 50 51 #endif // __GTKSTATICBOXH__ 52