]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.h
Mention wxCURSOR_BLANK
[wxWidgets.git] / samples / dialogs / dialogs.h
index ccf3da8b7d0eee27cf5a95c4f13ff3782b0e226f..88b81497bb6bff4077467894e2746289ede2f14c 100644 (file)
@@ -28,6 +28,7 @@ class MyModelessDialog : public wxDialog
 public:
     MyModelessDialog(wxWindow *parent);
 
 public:
     MyModelessDialog(wxWindow *parent);
 
+    void OnButton(wxCommandEvent& event);
     void OnClose(wxCloseEvent& event);
 
 private:
     void OnClose(wxCloseEvent& event);
 
 private:
@@ -77,6 +78,9 @@ public:
 #if wxUSE_PROGRESSDLG
     void ShowProgress(wxCommandEvent& event);
 #endif // wxUSE_PROGRESSDLG
 #if wxUSE_PROGRESSDLG
     void ShowProgress(wxCommandEvent& event);
 #endif // wxUSE_PROGRESSDLG
+#if wxUSE_BUSYINFO
+    void ShowBusyInfo(wxCommandEvent& event);
+#endif // wxUSE_BUSYINFO
 #if wxUSE_FINDREPLDLG
     void ShowFindDialog(wxCommandEvent& event);
     void ShowReplaceDialog(wxCommandEvent& event);
 #if wxUSE_FINDREPLDLG
     void ShowFindDialog(wxCommandEvent& event);
     void ShowReplaceDialog(wxCommandEvent& event);
@@ -91,13 +95,14 @@ public:
 
     void OnExit(wxCommandEvent& event);
 
 
     void OnExit(wxCommandEvent& event);
 
-    void OnButton(wxCommandEvent& event);
-
 private:
     MyModelessDialog *m_dialog;
 
 #if wxUSE_FINDREPLDLG
     wxFindReplaceData m_findData;
 private:
     MyModelessDialog *m_dialog;
 
 #if wxUSE_FINDREPLDLG
     wxFindReplaceData m_findData;
+
+    wxFindReplaceDialog *m_dlgFind,
+                        *m_dlgReplace;
 #endif // wxUSE_FINDREPLDLG
 
     DECLARE_EVENT_TABLE()
 #endif // wxUSE_FINDREPLDLG
 
     DECLARE_EVENT_TABLE()
@@ -106,7 +111,8 @@ private:
 class MyCanvas: public wxScrolledWindow
 {
 public:
 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);
 
 
     void OnPaint(wxPaintEvent& event);
 
@@ -139,6 +145,7 @@ enum
     DIALOGS_MODELESS,
     DIALOGS_MODELESS_BTN,
     DIALOGS_PROGRESS,
     DIALOGS_MODELESS,
     DIALOGS_MODELESS_BTN,
     DIALOGS_PROGRESS,
+    DIALOGS_BUSYINFO,
     DIALOGS_FIND,
     DIALOGS_REPLACE
 };
     DIALOGS_FIND,
     DIALOGS_REPLACE
 };