1. more code commented out by DW (@#%#%!#%!@) uncommented

2. wxSpinCtrl calculates its default size better and sends notifications
   as wxSpinButton does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-28 00:38:59 +00:00
parent 4e67bfc7a4
commit baccb51431
4 changed files with 101 additions and 32 deletions

View File

@@ -48,8 +48,12 @@ public:
int min = 0, int max = 100, int initial = 0,
const wxString& name = _T("wxSpinCtrl"));
// override some of the base class virtuals
virtual bool SetFont(const wxFont &font);
protected:
void DoMoveWindow(int x, int y, int width, int height);
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual wxSize DoGetBestSize();
WXHWND m_hwndBuddy;