wxWidgets/include/wx/generic
Vadim Zeitlin a307120d50 Fix generic wxSearchCtrl size/layout code.
Override DoGetBestClientSize() instead of DoGetBestSize(), as we're really
computing just the size of our contents and like this we don't need to hard
code platform-dependent border sizes in this control itself.

Also use the client size in LayoutControls() for the same reason. This also
makes it unnecessary to pass it the width and height as it can find them on
its own. And x and y were never used in the first place, so remove them too.

Finally, center the bitmaps vertically.

Closes #16422.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-08-18 21:32:55 +00:00
..
private Implement wxGenericListCtrl::EndEditLabel. 2014-07-06 10:32:42 +00:00
aboutdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
accel.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
animate.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
bmpcbox.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
busyinfo.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
buttonbar.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
calctrlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
caret.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
choicdgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
clrpickerg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
collpaneg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
colour.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
colrdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
combo.h Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
ctrlsub.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
custombgwin.h Include the required headers from wx/custombgwin.h. 2014-07-24 10:58:47 +00:00
dataview.h Add support for sorting by more than one column to generic wxDataViewCtrl. 2014-02-05 22:12:53 +00:00
datectrl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcpsg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
dirctrlg.h Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
dirdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dragimgg.h remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
dvrenderer.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dvrenderers.h Use "virtual" keyword with overridden methods. 2014-03-19 18:06:29 +00:00
fdrepdlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filectrlg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filedlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filepickerg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
fontdlgg.h remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
fontpickerg.h Add font colour support to wxFontPickerCtrl. 2014-03-18 17:23:13 +00:00
fswatcher.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
grid.h Use wxArrayInt methods instead of duplicating them. 2014-05-04 22:13:02 +00:00
gridctrl.h Add wxGridCellRenderer::GetBest{Height,Width}() and use them in wxGrid. 2014-05-04 22:12:42 +00:00
grideditors.h build fix for wxUSE_VALIDATORS==0 2014-04-11 15:53:41 +00:00
gridsel.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
headerctrlg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
helpext.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
hyperlink.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
icon.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
imaglist.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
infobar.h Allow access to the currently shown wxInfoBar buttons. 2014-06-02 01:15:11 +00:00
laywin.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
listctrl.h Implement wxGenericListCtrl::EndEditLabel. 2014-07-06 10:32:42 +00:00
logg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
mask.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
mdig.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
msgdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
notebook.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
notifmsg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
numdlgg.h Add wxNumberEntryDialog default ctor and Create(). 2013-12-21 22:26:38 +00:00
paletteg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
panelg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
printps.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
prntdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
progdlgg.h Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
propdlg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
region.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
richmsgdlgg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sashwin.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
scrolwin.h Make wxWindow::HasScrollbar() respect wxScrolled::ShowScrollbars(). 2013-08-27 13:12:38 +00:00
spinctlg.h Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods. 2013-08-06 17:00:00 +00:00
splash.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
splitter.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
srchctlg.h Fix generic wxSearchCtrl size/layout code. 2014-08-18 21:32:55 +00:00
statbmpg.h wxOSX Retina fixes: size wxStaticBitmap and wxBitmapButton properly. 2013-12-04 14:33:07 +00:00
statline.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
stattextg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
statusbr.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
tabg.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
textdlgg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
timectrl.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
treectlg.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00
wizard.h use wxOVERRIDE 2014-03-30 00:02:23 +00:00