]> git.saurik.com Git - wxWidgets.git/commit
Don't draw the mysterious black rectangle in the erase sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2011 22:33:16 +0000 (22:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2011 22:33:16 +0000 (22:33 +0000)
commitc5d0e69d7df31f0fed5a77e1c479c0f8885679c0
tree7791700d84e9454848a17efd805d09907d604ea6
parent4d37f425ff99077796428e69fee69ebf9c2fc6a5
Don't draw the mysterious black rectangle in the erase sample.

The black rectangle drawn in EVT_PAINT handler in the sample prevented the
custom background from showing through the wxStaticBitmap. Maybe it was
initially done intentionally but this makes the sample look broken so just
don't do this.

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