revert r74683, wxTLW has its own {Width,Height}Default()

which are not the ones called by PreCreation()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2013-08-19 16:58:43 +00:00
parent e62b769262
commit ef1a87f606

View File

@@ -545,10 +545,12 @@ bool wxTopLevelWindowGTK::Create( wxWindow *parent,
wxWindowID id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
const wxSize& sizeOrig,
long style,
const wxString &name )
{
const wxSize size(WidthDefault(sizeOrig.x), HeightDefault(sizeOrig.y));
wxTopLevelWindows.Append( this );
if (!PreCreation( parent, pos, size ) ||