Vadim Zeitlin
46e1b4b805
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 .
[This is the backport of r77083 from trunk.]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@77946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-03 01:52:04 +00:00
..
2014-07-06 11:31:31 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-09-30 23:49:26 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2014-04-11 15:53:41 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-11-16 23:41:06 +00:00
2013-07-26 16:02:46 +00:00
2014-07-06 11:31:31 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2014-09-04 19:44:15 +00:00
2013-07-26 16:02:46 +00:00
2013-08-27 13:12:38 +00:00
2013-08-06 17:00:00 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2014-10-03 01:52:04 +00:00
2013-12-04 14:32:43 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00
2013-07-26 16:02:46 +00:00