No changes, just factor out PrepareDC() call in the erase sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Feb 2013 16:13:58 +0000 (16:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Feb 2013 16:13:58 +0000 (16:13 +0000)
commit2aee45f63afa24557ffc9465ed9ea4df8e2c54a7
treeb74dad0ecb3ee82c0c146631b4702b130e19309b
parent963f64fb949652fb0de2522d7422a412c102dab8
No changes, just factor out PrepareDC() call in the erase sample.

Call this only once in DoPaint() itself instead of calling it twice before
calling it.

See #14917.

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