]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.h
Added "metal" theme.
[wxWidgets.git] / samples / dialogs / dialogs.h
index 5c3396b96b2c9c15aa49e0f147b882aa0b051be6..88b81497bb6bff4077467894e2746289ede2f14c 100644 (file)
@@ -100,6 +100,9 @@ private:
 
 #if wxUSE_FINDREPLDLG
     wxFindReplaceData m_findData;
+
+    wxFindReplaceDialog *m_dlgFind,
+                        *m_dlgReplace;
 #endif // wxUSE_FINDREPLDLG
 
     DECLARE_EVENT_TABLE()
@@ -108,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);