]> git.saurik.com Git - wxWidgets.git/commit
Handle deprecated background styles correctly in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Sep 2009 00:22:04 +0000 (00:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Sep 2009 00:22:04 +0000 (00:22 +0000)
commitb469c9d81b0702ecfe6a4594c2e6d8d31b370fd0
tree17238f23b6dbea9cded49ec282c2b7114fbc3449
parent7a0a6cc8f61cb53ce1c76897489e1e363d1a1fa5
Handle deprecated background styles correctly in wxMSW.

Handle wxBG_STYLE_TRANSPARENT as wxBG_STYLE_PAINT and wxBG_STYLE_COLOUR as
wxBG_STYLE_ERASE instead of asserting (and almost surely crashing next, as
this assert is in the code called when the window is repainted and so will be
called again when the assert dialog is shown resulting in reentrant assert).

Closes #11208.

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