]>
git.saurik.com Git - wxWidgets.git/blob - src/qt/statbox.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     wxStaticBox 
   8 // Copyright:   (c) AUTHOR 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  13 #pragma implementation "statbox.h" 
  16 #include "wx/statbox.h" 
  18 IMPLEMENT_DYNAMIC_CLASS(wxStaticBox
, wxControl
) 
  20 BEGIN_EVENT_TABLE(wxStaticBox
, wxControl
) 
  21         EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground
) 
  29 bool wxStaticBox::Create(wxWindow 
*parent
, wxWindowID id
, 
  30            const wxString
& label
, 
  38     if (parent
) parent
->AddChild(this); 
  41             m_windowId 
= (int)NewControlId(); 
  45     m_windowStyle 
= style
; 
  47     // TODO: create static box 
  51 void wxStaticBox::SetLabel(const wxString
& label
) 
  56 void wxStaticBox::SetSize(int x
, int y
, int width
, int height
, int sizeFlags
)