]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.h
reenabled the old wxGrid.
[wxWidgets.git] / samples / dialogs / dialogs.h
index 96bdfbeeba4ae0757a725289b4ebac599ab51d97..d0e114f6b9b1893210bbaa652ce719447b6970ff 100644 (file)
@@ -27,6 +27,11 @@ class MyModelessDialog : public wxDialog
 {
 public:
     MyModelessDialog(wxWindow *parent);
+
+    void OnClose(wxCloseEvent& event);
+
+private:
+    DECLARE_EVENT_TABLE()
 };
 
 // Define a new frame type
@@ -50,6 +55,7 @@ public:
     void DirChoose(wxCommandEvent& event);
     void ShowTip(wxCommandEvent& event);
     void ModelessDlg(wxCommandEvent& event);
+    void ShowProgress(wxCommandEvent& event);
 
 #if !defined(__WXMSW__) || wxTEST_GENERIC_DIALOGS_IN_MSW
     void ChooseColourGeneric(wxCommandEvent& event);
@@ -96,7 +102,8 @@ enum
     DIALOGS_NUM_ENTRY,
     DIALOGS_LOG_DIALOG,
     DIALOGS_MODELESS,
-    DIALOGS_MODELESS_BTN
+    DIALOGS_MODELESS_BTN,
+    DIALOGS_PROGRESS
 };
 
 #endif