]> git.saurik.com Git - wxWidgets.git/commit
Don't set initial size as min size for top level windows in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Jan 2010 13:02:14 +0000 (13:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Jan 2010 13:02:14 +0000 (13:02 +0000)
commit49c265300078d12e7952f21a84d32ebec9a3d1af
treef212dfdf7087c8016daa94f234625c061099bf3d
parentdae60aeebb7c3fedf9c8ce8775bbd7a11bdc508e
Don't set initial size as min size for top level windows in wxMSW.

This was accidentally done because wxWindowBase::CreateBase() didn't recognize
the window as being top level as it was called before the window was appended
to wxTopLevelWindows list.

Fix this by doing the same thing wxGTK already did: just call
wxTopLevelWindows.Append() before CreateBase().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/toplevel.cpp