wxWidgets/include/wx/msw
Vadim Zeitlin 40aa1a7e60 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
2012-11-20 12:49:53 +00:00
..
ole Provide stand-in IDropTargetHelper definition to fix VC6 build. 2012-10-14 14:42:58 +00:00
private Allow creating wxTextMeasure without specifying the font. 2012-11-01 17:15:22 +00:00
wince Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support. 2012-06-17 21:34:47 +00:00
accel.h
amd64.manifest
anybutton.h Refactor wxButton and wxToggleButton to derive from wxAnyButton. 2011-06-14 13:00:42 +00:00
app.h Define wxEntry() with WinMain-compatible signature for all Windows ports. 2012-06-30 16:33:28 +00:00
apptbase.h Add wxUSE_THREADS checks around wxMSW functions dealing with threads. 2011-03-22 17:15:56 +00:00
apptrait.h Define wxGUIAppTraits for wxGTK/Windows port. 2012-07-23 15:03:30 +00:00
bitmap.h Add wxBitmap::NewFromPNGData() for creating bitmaps from PNG data. 2012-09-13 17:15:00 +00:00
blank.cur
bmpbuttn.h Refactor wxButton and wxToggleButton to derive from wxAnyButton. 2011-06-14 13:00:42 +00:00
bmpcbox.h Make SetFont() public (fixes #9641) 2010-07-25 07:39:17 +00:00
brush.h
bullseye.cur Add white outline to bulls eye cursor used under MSW. 2010-03-16 14:48:02 +00:00
button.h Ensure that Enter key presses are never stolen from wxButton in wxMSW. 2011-12-11 17:03:56 +00:00
calctrl.h
caret.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
cdrom.ico
checkbox.h Correct best size computation for wxCheckBox with borders under MSW. 2012-09-23 22:48:16 +00:00
checklst.h Improve wxCheckListBox appearance under Vista/Win7. 2010-01-23 13:22:00 +00:00
child.ico
chkconf.h Remove support for MetroWerks CodeWarrior compiler. 2012-04-05 18:40:11 +00:00
choice.h Implement DoGetSizeFromTextSize() for wxMSW wx{Choice,Combobox,TextCtrl}. 2012-11-14 13:47:59 +00:00
clipbrd.h
colordlg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
colour.h
colours.bmp
combo.h To have better support for themed and custom backgrounds for wxMSW wxComboCtrl, use WS_EX_COMPOSITED and wxBG_STYLE_ERASE instead of custom double-buffering (when made possible by the OS version) 2011-03-22 09:56:40 +00:00
combobox.h Implement DoGetSizeFromTextSize() for wxMSW wx{Choice,Combobox,TextCtrl}. 2012-11-14 13:47:59 +00:00
commandlinkbutton.h Add new wxCommandLinkButton class. 2010-08-17 14:48:50 +00:00
computer.ico
control.h
crashrpt.h
cross.cur
csquery.bmp
ctrlsub.h
cursor.h
custombgwin.h Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. 2011-10-11 17:07:43 +00:00
datectrl.h Refactor wxDatePickerCtrl to derive from wxDateTimePickerCtrl. 2011-09-29 13:43:02 +00:00
datetimectrl.h Dirty hack to allow generic wxDatePickerCtrl to compile under MSW. 2011-10-20 16:45:48 +00:00
dc.h wxDC::GetHandle support for wxMSW 2012-07-28 19:31:09 +00:00
dcclient.h Cache HDC used for painting for the entire duration of WM_PAINT processing. 2012-11-10 00:52:54 +00:00
dcmemory.h
dcprint.h
dcscreen.h
dde.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
debughlp.h Implement wxStackWalker for wxMSW under x86-64. 2011-11-27 19:52:13 +00:00
dialog.h No changes, just implement Raise() in wxTopLevelWindow in wxMSW. 2012-02-05 14:18:22 +00:00
dib.h Fix wxMSW compilation without PCH. 2012-07-01 22:39:41 +00:00
dirdlg.h Use new style directory selection dialog under Vista and later. 2012-04-15 23:18:12 +00:00
dragimag.h Make wxDragImage ctors taking hot spot point really deprecated in wxMSW. 2012-02-15 00:35:25 +00:00
drive.ico
enhmeta.h Make wxEnhMetaFileDC ctor from wxDC explicit. 2011-07-21 13:49:59 +00:00
evtloop.h Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
evtloopconsole.h Use the same console event loop in wxBase and wxCore in wxMSW. 2012-07-10 23:52:00 +00:00
fdrepdlg.h
file1.ico
filedlg.h Make wxFileDialog::Set/SetPath() behave consistently. 2009-11-26 16:17:00 +00:00
floppy.ico
folder1.ico
folder2.ico
font.h Add support for stricken-through fonts. 2012-01-23 11:28:28 +00:00
fontdlg.h
frame.h No changes, just implement Raise() in wxTopLevelWindow in wxMSW. 2012-02-05 14:18:22 +00:00
fswatcher.h Implement watching directory correctly in MSW wxFileSystemWatcher. 2011-05-03 23:31:39 +00:00
gauge.h Fixed various typos. 2011-03-22 14:17:38 +00:00
gccpriv.h
gdiimage.h Make wxRefCounter non copyable. 2010-12-14 18:43:49 +00:00
genrcdefs.h
glcanvas.h
hand.cur
headerctrl.h Make a couple virtuals protected so they can be overridden. 2012-07-10 06:42:15 +00:00
helpbest.h
helpchm.h Use wxString::t_str() in calls to Windows API functions in wxMSW. 2012-06-03 19:16:59 +00:00
helpwin.h Replace more DECLARE_CLASS occurrences with DECLARE_DYNAMIC_CLASS. 2011-06-07 16:48:36 +00:00
htmlhelp.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
hyperlink.h Provide native wxHyperlinkCtrl implementation for wxMSW. 2010-08-17 16:55:32 +00:00
ia64.manifest
icon.h
imaglist.h
iniconf.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
init.h Define wxEntry() with WinMain-compatible signature for all Windows ports. 2012-06-30 16:33:28 +00:00
joystick.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
libraries.h
listbox.h Don't try to determine the clicked item ourselves in wxMSW wxListBox. 2012-09-09 00:44:26 +00:00
listctrl.h Implement constrained best size calculation in wxMSW wxListCtrl. 2012-05-09 14:24:47 +00:00
magnif1.cur
mdi.h
mdi.ico
menu.h Implement wxMenuBar::EnableTop() for wxMSW and wxGTK. 2012-01-15 13:41:17 +00:00
menuitem.h Always provide wxMenuItem bitmap-related methods in wxMSW. 2012-03-04 00:29:55 +00:00
metafile.h
microwin.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
mimetype.h
minifram.h
missing.h Add MUI_LANGUAGE_NAME to wx/msw/missing.h. 2012-09-08 10:53:16 +00:00
msgdlg.h Don't try to center task dialogs under Windows. 2010-11-22 12:49:07 +00:00
mslu.h
msvcrt.h
nonownedwnd.h Added wxNonOwnedWindow::SetShape(wxGraphicsPath). 2011-10-18 21:56:52 +00:00
notebook.h Hack wxMSW wxNotebook to show the text controls correctly initially. 2011-11-22 13:18:45 +00:00
notifmsg.h Add missing "flags" argument to wxNotificationMessage ctor in wxMSW. 2012-04-28 22:25:23 +00:00
ownerdrw.h Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
palette.h Make wxPalette ctor and Create() const-correct in wxMSW. 2011-12-17 23:52:47 +00:00
panel.h fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800 2011-12-23 05:59:59 +00:00
pbrush.cur
pen.h
pencil.cur
pntleft.cur
pntright.cur
popupwin.h
printdlg.h Use wxPageSetupDialogData instead of old wxPageSetupData everywhere. 2012-02-20 21:55:55 +00:00
printwin.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
private.h Use wxString::t_str() in calls to Windows API functions in wxMSW. 2012-06-03 19:16:59 +00:00
progdlg.h Enable the HWND of the task dialog to be fetched with GetHandle if it is being used. 2011-09-10 03:26:37 +00:00
question.ico
radiobox.h Fix initial wxRadioBox buttons positions in wxMSW. 2012-02-02 14:26:06 +00:00
radiobut.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
rcdefs.h
regconf.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
region.h
registry.h Fixed various typos. 2011-03-22 14:17:38 +00:00
removble.ico
richmsgdlg.h Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
rightarr.cur
roller.cur
scrolbar.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
seh.h
setup0.h Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support. 2012-06-17 21:34:47 +00:00
setup_inc.h Add wxTimePickerCtrl class. 2011-09-29 13:43:15 +00:00
slider.h Fix showing slider label in wxMSW when wxSL_MIN_MAX_LABELS was not used. 2011-07-11 22:49:33 +00:00
sound.h Change wxSound ctor from in-memory data to use size_t/void *. 2011-09-21 15:08:02 +00:00
spinbutt.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
spinctrl.h Implement GetSizeFromTextSize() for wxSpinCtrl. 2012-11-20 12:49:53 +00:00
stackwalk.h
statbmp.h Fix wxStaticBitmap best size calculation in wxMSW. 2012-05-09 14:23:57 +00:00
statbox.h Revert r71595 for now, as the bug it fixed is the lesser of two evils with the potential bugs it causes. See #14453. 2012-07-08 03:48:55 +00:00
statline.h Fixed various typos. 2011-03-22 14:17:38 +00:00
stattext.h
statusbar.h Add missing wxUSE_TOOLTIPS and wxUSE_UXTHEME checks to wxMSW. 2012-01-10 17:01:09 +00:00
std.ico
stdpaths.h
subwin.h
taskbar.h Make wxTaskBarIcon's ctor have the same API on all platforms even though setting the icon type can only be done on wxOSX-cocoa 2012-04-20 05:41:54 +00:00
textctrl.h Revert all wxNOEXCEPT-related changes. 2012-11-20 12:49:03 +00:00
textentry.h Fix wxMSW wxTextEntry compilation in wxUSE_DYNLIB_CLASS==0 case. 2012-07-23 15:03:57 +00:00
tglbtn.h Refactor wxButton and wxToggleButton to derive from wxAnyButton. 2011-06-14 13:00:42 +00:00
timectrl.h Add wxTimePickerCtrl class. 2011-09-29 13:43:15 +00:00
tls.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
toolbar.h Fixed parts of toolbar background not being drawn with older comctl32.dll. 2012-05-02 14:44:45 +00:00
tooltip.h No real changes, just use clearer names for wxMSW wxToolTip methods. 2012-04-05 13:55:51 +00:00
toplevel.h Removed redundant DoEnable 2012-03-12 11:42:49 +00:00
treectrl.h Freeze wxTreeCtrl in wxMSW by hiding it. 2012-10-13 22:52:35 +00:00
uxtheme.h Fix confusion with LOGFONT{A,W} parameters to MSW GetTheme[Sys]Font(). 2010-10-30 23:50:22 +00:00
uxthemep.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
webview_ie.h Explicitly unregister custom wxWebViewIE namespaces when we are done with them. Also add a missing ClassFactory::AddRef. 2012-10-21 20:33:48 +00:00
webview_missing.h Move wxWebViewIE missing definitions to webview_missing.h and add new definitions required for Find. 2012-09-10 20:02:58 +00:00
webviewhistoryitem_ie.h Minor changes, just trim trailing spaces in webview code. 2012-03-28 18:00:30 +00:00
window.h Implement horizontal mouse wheel events support for wxMSW. 2012-03-22 00:27:02 +00:00
winundef.h Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined. 2012-05-23 21:16:41 +00:00
wrapcctl.h
wrapcdlg.h
wrapgdip.h
wrapshl.h
wrapwin.h Provide HANDLE_PTR for the compilers without it such as VC6. 2011-11-17 16:43:34 +00:00
wx.manifest
wx.rc Remove support for MetroWerks CodeWarrior compiler. 2012-04-05 18:40:11 +00:00