1. serious bug in wxRegConfig corrected - deleting a value would delete the
key containing it if it didn't have any subkeys (i.e. would delete the sibling values) 2. wxRegKey::GetFirstValue() starts with first value, not the second one 3. typo in wxStaticText::DoSetSize() which prevented width.AsIs() from working fixed 4. adjustment for the parent client area offset not done for the top level windows (dialogs and frames) any more git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -121,7 +121,7 @@ void wxStaticText::DoSetSize(int x, int y, int width, int height, int sizeFlags)
|
||||
for ( const char *pc = text; ; pc++ ) {
|
||||
if ( *pc == '\n' || *pc == '\0' ) {
|
||||
GetTextExtent(curLine, &widthLine, &heightLine);
|
||||
if ( width > widthTextMax )
|
||||
if ( widthLine > widthTextMax )
|
||||
widthTextMax = widthLine;
|
||||
heightTextTotal += heightLine;
|
||||
|
||||
|
Reference in New Issue
Block a user