#18161: wxSplashScreen broken after TLW changes
-----------------------+-----------------------------------
Reporter: MaartenB | Owner: vadz
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxMSW | Version: dev-latest
Resolution: fixed | Keywords: wxSplashScreen splash
Blocked By: | Blocking:
Patch: 0 |
-----------------------+-----------------------------------
Changes (by Vadim Zeitlin <vadim@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"9121b906e83d3038a772b24de2cbf979b99ff04f/git-wxWidgets"
9121b906e/git-wxWidgets]:
{{{
#!CommitTicketReference repository="git-wxWidgets"
revision="9121b906e83d3038a772b24de2cbf979b99ff04f"
Restore initial wxEVT_SIZE generation for hidden frames in wxMSW
Changes of commit cf20a9ced531d502433b5acc25a3bd84505f5fe5 suppressed
the generation of the initial wxEVT_SIZE for hidden wxFrames, as the
initial WM_SIZE was ignored. This went unnoticed for "normal" frames,
which got another WM_SIZE when they were shown in any case, but broke
frames with wxFRAME_TOOL_WINDOW style as they're shown using SW_SHOWNA
command and in addition to suppressing activation, it also suppresses
the generation of WM_SIZE, so such frames didn't get any wxEVT_SIZE at
all and appeared without being laid out properly, as could be seen, for
example, in the splash sample.
Fix this by continuing to generate the size events even for hidden
frames, just as we did before, while still skipping all the other stuff
which is not necessary for the hidden windows.
See
https://github.com/wxWidgets/wxWidgets/pull/842
Closes #18161.
}}}
--
Ticket URL: <
https://trac.wxwidgets.org/ticket/18161#comment:5>