X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14fca7389aa93dee91a68cd0a25789c2b4b42879..01e4ec19805f0decf6adde30a9f77b03340d60b5:/samples/dialogs/dialogs.h?ds=sidebyside diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index 3193e26f2f..88b81497bb 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -111,7 +111,8 @@ private: class MyCanvas: public wxScrolledWindow { public: - MyCanvas(wxWindow *parent) : wxScrolledWindow(parent) { } + MyCanvas(wxWindow *parent) : + wxScrolledWindow(parent,-1,wxDefaultPosition,wxDefaultSize,wxNO_FULL_REPAINT_ON_RESIZE) { } void OnPaint(wxPaintEvent& event);