Use wxNO_FULL_REPAINT_ON_RESIZE in drawing sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-10-03 10:07:00 +00:00
parent 529df28444
commit 44134176ae

View File

@@ -346,7 +346,8 @@ END_EVENT_TABLE()
#include "../image/smile.xpm"
MyCanvas::MyCanvas( MyFrame *parent ) : wxScrolledWindow( parent )
MyCanvas::MyCanvas( MyFrame *parent ) :
wxScrolledWindow( parent, -1, wxDefaultPosition, wxDefaultSize, wxNO_FULL_REPAINT_ON_RESIZE )
{
m_owner = parent;
m_show = Show_Default;