]> git.saurik.com Git - wxWidgets.git/commit
Remove the test of erase background events from the toolbar sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Dec 2009 15:37:49 +0000 (15:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Dec 2009 15:37:49 +0000 (15:37 +0000)
commit69bc65e3f8462f63785d7daa656d4e0d573004d8
treecead8e3558b63e3cb3aa5302a7a50c89c3582d4b
parentbec9bf3e20e07cfb3874069acce98aa2e898b8dc
Remove the test of erase background events from the toolbar sample.

Handling erase background events for toolbars never worked for the ports other
than wxMSW and now it doesn't work for MSW neither as we need to skip erasing
the background in WM_ERASEBKGND handler to avoid flicker which would result
from erasing the background twice, from there and from WM_PAINT handler which
must do it. So don't even try to test if it works, it's unlikely to be very
useful anyhow.

This reverts the change to this file in r62805.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/toolbar/toolbar.cpp