wxwidgets/src
Steve Browne 1525e84e56 Fix unwanted refreshes when setting size of wxChoice in wxMSW
The window was still resized even if its size didn't really change,
which, in particular, unexpectedly resulted in closing its drop down if
it was shown.

Fix this by moving the code dealing with the different interpretation of
the control height between wxMSW and MSW (for the former, it's just the
height of the visible part, while for the latter it includes drop down
as well), from wxChoice::DoSetSize() to DoMoveWindow(). This allows the
base class DoSetSize() to correctly filter out calls not really changing
the size, while still setting the height correctly when it does change.

See #17075.

See https://github.com/wxWidgets/wxWidgets/pull/389
2017-07-16 15:17:03 +02:00
..
aui Corrected references to bitmap size in AUI and Ribbon to take scaling into account 2017-05-12 15:59:11 +01:00
common Merge branch 'msw-locale' 2017-07-16 15:04:16 +02:00
dfb Add micro version to toolkit version functions 2016-02-29 10:05:43 +01:00
expat Define XML_STATIC in Expat header rather than Expat projects. 2017-02-02 02:02:57 +02:00
generic Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
gtk Don't refresh wxStaticText if its label didn't really change 2017-07-16 02:36:07 +02:00
gtk1 Don't call CacheBestSize() from DoGetBestSize() implementations 2016-04-03 18:04:26 +02:00
html Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
jpeg Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
motif Don't refresh wxStaticText if its label didn't really change 2017-07-16 02:36:07 +02:00
msw Fix unwanted refreshes when setting size of wxChoice in wxMSW 2017-07-16 15:17:03 +02:00
osx Don't refresh wxStaticText if its label didn't really change 2017-07-16 02:36:07 +02:00
png Define PNG_ZLIB_VERNUM as 0. 2017-01-07 01:12:11 +02:00
propgrid Fix escaping/unescaping in wxLongStringProperty 2017-07-06 23:14:08 +02:00
qt Fix wxQt build errors when using gcc 4.4 2016-11-30 16:13:46 +01:00
regex Work around signed/unsigned comparison warnings in regex code 2017-05-27 18:36:24 +02:00
ribbon Remove initializations of wxString with wxEmptyString 2017-05-28 23:53:44 -07:00
richtext Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
stc Handle EVT_CONTEXT_MENU directly in wxSTC (wxOSX) 2017-07-02 13:02:13 +02:00
tiff Revert "Fix warnings about pointer/int casts in Win32 part of libtiff too." 2015-12-26 19:34:06 +01:00
univ Don't refresh wxStaticText if its label didn't really change 2017-07-16 02:36:07 +02:00
unix Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
x11 Merge branch 'rmv_symbols_3' of https://github.com/catalinr/wxWidgets 2017-02-20 17:46:45 +01:00
xml wx/xml: Implement line-ending modes for xml saves 2017-05-30 14:31:59 +02:00
xrc correct typo in previous commit 2017-06-20 10:18:22 +02:00
zlib Include configure determined flags via setup.h 2017-06-22 22:51:08 +02:00