Merge branch 'empty-text-extent'
Make Get[MultiLine]TextExtent() behave consistently for empty strings on all platforms, in particular return (0, 0) size for them from GetTextExtent() in wxGTK, which is an incompatible change but is needed to make it behave in the same way as the others. See https://github.com/wxWidgets/wxWidgets/pull/1970
This commit is contained in:
@@ -68,6 +68,9 @@ Changes in behaviour not resulting in compilation errors
|
||||
- wxGTK wxTextCtrl doesn't generate any wxEVT_TEXT when it's created with
|
||||
non-empty value, for consistency with the other ports.
|
||||
|
||||
- wxDC::GetTextExtent() returns height of 0 for empty string in wxGTK and wxOSX
|
||||
too now, for consistency with wxMSW and other kinds of wxDC.
|
||||
|
||||
- wxMSW wxToolBar height now adapts to the height of embedded controls, making
|
||||
the toolbar taller if necessary, rather than making the controls smaller. To
|
||||
return to the previous behaviour, you need to explicitly create controls of
|
||||
|
Reference in New Issue
Block a user