]> git.saurik.com Git - wxWidgets.git/commit
Work around wrong client size computation for not yet shown maximized windows.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Apr 2010 19:34:36 +0000 (19:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 23 Apr 2010 19:34:36 +0000 (19:34 +0000)
commite259ce57e63d56b387136fb18ef8d2e397024198
tree3aa5f7b17d221801eb5f95e857fc754516bcb9ca
parenteddac3cb0f06fe0cb8f491e879cb463ccd4edc3a
Work around wrong client size computation for not yet shown maximized windows.

The client size of maximized windows which hadn't been shown yet isn't
computed correctly by wxMSW because WM_NCCALCSIZE returns too small values for
some reason. Attempts to fix this were unsuccessful so just ensure that the
window is re-laid out using the right size from WM_SIZE it receives when it is
shown instead of using the wrong pending size.

Closes #11762.

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