]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.h
Further fixes to references
[wxWidgets.git] / samples / dialogs / dialogs.h
index 3193e26f2f5320aee9d8041f20d5ecd019b177d7..88b81497bb6bff4077467894e2746289ede2f14c 100644 (file)
@@ -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);