]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/statbox.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   4 // Author:      Robert Roebling 
   6 // Copyright:   (c) 1998 Robert Roebling 
   7 // Licence:     wxWindows licence 
   8 ///////////////////////////////////////////////////////////////////////////// 
  11 #ifndef __GTKSTATICBOXH__ 
  12 #define __GTKSTATICBOXH__ 
  22 #include "wx/object.h" 
  24 #include "wx/control.h" 
  26 //----------------------------------------------------------------------------- 
  28 //----------------------------------------------------------------------------- 
  32 //----------------------------------------------------------------------------- 
  34 //----------------------------------------------------------------------------- 
  36 extern const char *wxStaticBoxNameStr
; 
  38 //----------------------------------------------------------------------------- 
  40 //----------------------------------------------------------------------------- 
  42 class wxStaticBox
: public wxControl
 
  44   DECLARE_DYNAMIC_CLASS(wxStaticBox
) 
  49     wxStaticBox( wxWindow 
*parent
, wxWindowID id
, const wxString 
&label
,  
  50       const wxPoint 
&pos 
= wxDefaultPosition
, const wxSize 
&size 
= wxDefaultSize
,  
  51       long style 
= 0, const wxString 
&name 
= wxStaticBoxNameStr  
); 
  52     bool Create( wxWindow 
*parent
, wxWindowID id
, const wxString 
&label
, 
  53       const wxPoint 
&pos 
= wxDefaultPosition
, const wxSize 
&size 
= wxDefaultSize
,  
  54       long style 
= 0, const wxString 
&name 
= wxStaticBoxNameStr  
); 
  55     void SetLabel( const wxString 
&label 
); 
  59     void ApplyWidgetStyle(); 
  64 #endif // __GTKSTATICBOXH__