]> git.saurik.com Git - wxWidgets.git/commit - samples/drawing/drawing.cpp
Don't pop up annoying message box in the drawing sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 16:35:43 +0000 (16:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 9 Mar 2011 16:35:43 +0000 (16:35 +0000)
commit8fa11bb2a2a556f48af2de20f5dd9de8fcec97d2
tree3a13d77e06b8a4460d85b562c2c49e49947a5aec
parent621d922ffd5b3294ac8dbe6cbd27f56ed7916217
Don't pop up annoying message box in the drawing sample.

The rubber banding selection message box was shown even after a simple click,
i.e. when nothing was actually selected which was quite annoying, so don't do
this.

Also remove unnecessary casts and use wxLogMessage() instead of
wxString::Printf() + wxMessageBox().

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