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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user