Don't un-maximize the window when Iconize(false) is called in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Aug 2011 19:46:44 +0000 (19:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Aug 2011 19:46:44 +0000 (19:46 +0000)
commit57429bfda5e510aa5df3f4c75936c33b6f174c26
treeffcb721cb34ecab6ef51d106b06638a0e1b55058
parent9be02147f08bb5be2251eb5c51e6160a4209fd9f
Don't un-maximize the window when Iconize(false) is called in wxMSW.

Calling Iconize(false) on a maximized window restored it to its normal state
instead of doing nothing as expected.

Return immediately from Iconize() if the requested state is already the
current one to avoid it.

Closes #13373.

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