I keep running into situations where the old small default window size
was expected, and odd initial layouts resulted, so let's leave only TLWs at the new 400x250 default size, and give all other windows the old 20x20 default. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -328,7 +328,7 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
|
||||
// least for MSW compatibility)
|
||||
wxSize size = sizeOrig;
|
||||
size.x = WidthDefault(size.x);
|
||||
size.y = WidthDefault(size.y);
|
||||
size.y = HeightDefault(size.y);
|
||||
|
||||
wxTopLevelWindows.Append( this );
|
||||
|
||||
|
Reference in New Issue
Block a user