Don't call SetMinSize() when creating the window if no initial size was given.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Dec 2009 19:40:28 +0000 (19:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Dec 2009 19:40:28 +0000 (19:40 +0000)
commit653351d1cc29b3746ff4a14975a7f95141867d72
treeb6a647eea242c4da8b7488b2e8b394238e445114
parent7b9cb2d1efab0a4b7cb75a8d4b2307f49271dad1
Don't call SetMinSize() when creating the window if no initial size was given.

Calling SetMinSize() is unnecessary in this case. It also results in GTK+
errors when creating wxFileDialog as it is not created yet when this is called
(but it does take care to pass wxDefaultSize to this function as its size
can't be set yet).

See r62814 and r62817.

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