wxWidgets/include/wx/gtk
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
..
gnome Add GetHandle for wxGnomePrinterDCImpl 2012-07-28 21:52:37 +00:00
hildon add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
private Allow creating wxTextMeasure without specifying the font. 2012-11-01 17:15:22 +00:00
accel.h
animate.h make more Init() functions private 2012-10-02 15:57:03 +00:00
anybutton.h Refactor wxButton and wxToggleButton to derive from wxAnyButton. 2011-06-14 13:00:42 +00:00
app.h remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them 2011-09-07 16:56:50 +00:00
assertdlg_gtk.h Fix display of "const" methods in wxGTK assert dialog. 2012-03-21 00:11:12 +00:00
bitmap.h support for GTK3 2012-06-30 20:39:06 +00:00
bmpbuttn.h set the initial size of bitmap buttons correctly again after it was broken by r61081 (closes #10927) 2009-06-27 22:22:48 +00:00
bmpcbox.h Added wxGTK wxBitmapComboBox::DoGetBestSize() implementation that takes bitmap size into acccount. 2009-07-18 08:33:55 +00:00
brush.h declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails) 2008-06-17 17:28:26 +00:00
button.h Refactor wxButton and wxToggleButton to derive from wxAnyButton. 2011-06-14 13:00:42 +00:00
calctrl.h Implement wxCalendarCtrl::SetDateRange() in the native GTK version. 2011-06-19 22:46:36 +00:00
checkbox.h remove unnecessary DoGetBestSize 2009-12-05 19:26:39 +00:00
checklst.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
chkconf.h support for GTK3 2012-06-30 20:39:06 +00:00
choice.h Add wxControl::GetSizeFromTextSize() to size the control to its text. 2012-11-09 21:11:37 +00:00
clipbrd.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
clrpicker.h support for GTK3 2012-06-30 20:39:06 +00:00
collpane.h make more Init() functions private 2012-10-02 15:57:03 +00:00
colordlg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
colour.h support for GTK3 2012-06-30 20:39:06 +00:00
combobox.h Add wxControl::GetSizeFromTextSize() to size the control to its text. 2012-11-09 21:11:37 +00:00
control.h Add wxControl::GetSizeFromTextSize() to size the control to its text. 2012-11-09 21:11:37 +00:00
cursor.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
dataform.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
dataobj2.h make more Init() functions private 2012-10-02 15:57:03 +00:00
dataobj.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
dataview.h Replace wxDataViewCtrl::StartEditor() with EditItem(). 2012-01-17 14:05:17 +00:00
dc.h wxDC::GetHandle support for wxGTK 2012-07-28 19:31:18 +00:00
dcclient.h remove unneeded includes and forward declaration 2012-03-25 23:34:42 +00:00
dcmemory.h wxDC::GetHandle support for wxGTK 2012-07-28 19:31:18 +00:00
dcscreen.h make more Init() functions private 2012-10-02 15:57:03 +00:00
dialog.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
dirdlg.h Store the selected directory in wxGTK wxDirDialog. 2012-10-25 23:26:36 +00:00
dnd.h Add wxDropSource::SetIcon for wxGTK to mimic SetCursor on the other ports. 2012-05-03 23:30:40 +00:00
dvrenderer.h remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them 2011-09-07 16:56:50 +00:00
dvrenderers.h make more Init() functions private 2012-10-02 15:57:03 +00:00
evtloop.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
evtloopsrc.h no real change: just fix RCS-ID so that it reflects the current revision number 2010-04-25 21:33:16 +00:00
filectrl.h Disconnect all GTK signals referencing a wx object which is being destructed 2012-10-17 16:23:18 +00:00
filedlg.h Fix path returned from wxGTK wxFileDialog too. 2012-11-17 23:56:47 +00:00
filehistory.h Integrate with GNOME's Recent Documents menu. 2010-05-07 06:45:48 +00:00
filepicker.h make more Init() functions private 2012-10-02 15:57:03 +00:00
font.h make more Init() functions private 2012-10-02 15:57:03 +00:00
fontdlg.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
fontpicker.h remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them 2011-09-07 16:56:50 +00:00
frame.h make more Init() functions private 2012-10-02 15:57:03 +00:00
gauge.h make more Init() functions private 2012-10-02 15:57:03 +00:00
glcanvas.h support for GTK3 2012-06-30 20:39:06 +00:00
hyperlink.h need to override DoGetBestClientSize() to get correct size, fixes #13088 2011-04-02 20:43:29 +00:00
infobar.h Remove use of "size-request" signal for wxWindow sizing. 2012-05-17 15:29:50 +00:00
listbox.h clean up wxGTK tooltip code 2011-03-23 17:36:10 +00:00
mdi.h make more Init() functions private 2012-10-02 15:57:03 +00:00
menu.h Workaround for Ubuntu 12.04 run time warning 2012-06-05 16:49:28 +00:00
menuitem.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
minifram.h Disconnect all GTK signals referencing a wx object which is being destructed 2012-10-17 16:23:18 +00:00
msgdlg.h Add support for wxHELP button to wxMessageDialog. 2011-08-04 22:53:42 +00:00
nonownedwnd.h Added wxNonOwnedWindow::SetShape(wxGraphicsPath). 2011-10-18 21:56:52 +00:00
notebook.h make more Init() functions private 2012-10-02 15:57:03 +00:00
notifmsg.h Add a wxGTK-specific function to set wxNotificationMessage icon name. 2012-07-29 22:07:06 +00:00
pen.h remove unnecessary GTK declarations from defs.h, move things only used once to the place that needs them 2011-09-07 16:56:50 +00:00
popupwin.h remove unnecessary override of AddChildGTK 2012-02-28 17:25:59 +00:00
print.h Recreate GtkPrintOperation every time when printing in wxGTK. 2012-10-08 12:09:37 +00:00
private.h support for GTK3 2012-06-30 20:39:06 +00:00
radiobox.h make wxWindowGTK::Init() private, it is not meant to be called from derived classes 2012-09-30 16:55:40 +00:00
radiobut.h simplify Enable() 2009-12-05 19:25:04 +00:00
region.h support for GTK3 2012-06-30 20:39:06 +00:00
scrolbar.h avoid deprecated functions and direct struct access 2011-03-28 06:27:49 +00:00
scrolwin.h do only what is necessary in SetScrollbars(), let the base class do the rest 2009-02-08 20:51:44 +00:00
setup0.h update minimum GTK2 version requirement to 2.6 2012-07-10 16:39:44 +00:00
slider.h Disconnect all GTK signals referencing a wx object which is being destructed 2012-10-17 16:23:18 +00:00
spinbutt.h simplify Enable() 2009-12-05 19:25:04 +00:00
spinctrl.h Implement GetSizeFromTextSize() for wxSpinCtrl. 2012-11-20 12:49:53 +00:00
statbmp.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
statbox.h fix virtual override broken in r58875 2012-02-28 17:06:56 +00:00
statline.h default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr 2006-12-09 14:52:59 +00:00
stattext.h remove DoSetSize override, unneeded after r72001 2012-07-10 17:27:41 +00:00
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 Generate clipboard events for wxComboBox in wxGTK too. 2012-07-29 22:08:15 +00:00
tglbtn.h No changes, just remove unnecessary forward declarations. 2012-11-08 14:20:53 +00:00
toolbar.h Make the CreateTool factories be public so they can be used from application code 2012-03-10 00:01:09 +00:00
tooltip.h clean up wxGTK tooltip code 2011-03-23 17:36:10 +00:00
toplevel.h make more Init() functions private 2012-10-02 15:57:03 +00:00
treeentry_gtk.h avoid deprecated functions and direct struct access 2011-03-28 06:27:49 +00:00
webview_webkit.h Disconnect all GTK signals referencing a wx object which is being destructed 2012-10-17 16:23:18 +00:00
webviewhistoryitem_webkit.h Minor changes, just trim trailing spaces in webview code. 2012-03-28 18:00:30 +00:00
window.h fix setting background color in wxGTK3 with themes which use background images or gradients, fixes #14759 2012-11-04 17:39:55 +00:00