]> git.saurik.com Git - wxWidgets.git/commit - src/generic/spinctlg.cpp
Implement GetSizeFromTextSize() for wxSpinCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2012 12:49:53 +0000 (12:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2012 12:49:53 +0000 (12:49 +0000)
commit40aa1a7e60f74bfc732f9184c67c82b540f324f8
treea7ef08d8287b0352181a87c4ef632ca8beba132c
parent29604c85d6ff8f4cd1eaa19adf41862372ea4c54
Implement GetSizeFromTextSize() for wxSpinCtrl.

Implement it for the native MSW and GTK versions and the generic one used in
the other ports and also for wxSpinCtrlDouble under MSW.

Also test this function in the spin page of the widgets sample.

Closes #14840.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/spinctlg.h
include/wx/gtk/spinctrl.h
include/wx/msw/spinctrl.h
samples/widgets/spinbtn.cpp
samples/widgets/widgets.cpp
src/generic/spinctlg.cpp
src/gtk/spinctrl.cpp
src/msw/spinctrl.cpp