- const wxString& label,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long style = 0,
- const wxString& name = wxStaticBoxNameStr);
-
- void OnEraseBackground(wxEraseEvent& event);
-
- virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
-
- void SetLabel(const wxString& label);
-
- virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
- WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
-
- // overriden base class virtuals
- virtual bool AcceptsFocus() const { return FALSE; }
-
+ const wxString& label,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = 0,
+ const wxString& name = wxStaticBoxNameStr);
+
+ /// Implementation only
+ virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
+
+ virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+ // choose the default border for this window
+ virtual wxBorder GetDefaultBorder() const;
+
+#ifndef __WXWINCE__
+public:
+ virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+