- // overriden base class virtuals
- virtual bool AcceptsFocus() const { return FALSE; }
-
- // callbacks
- virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
- WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
+protected:
+ virtual void DoSetSize(int x, int y, int w, int h,
+ int sizeFlags = wxSIZE_AUTO);
+ virtual wxSize DoGetBestSize() const;