]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.h
DocView and wxStream things
[wxWidgets.git] / samples / listctrl / listtest.h
index c9bbb749bdb04c2fea0b37e6e6a7b39ac1265d34..f6358de0b39b57fe87b6ba162daedb4933307e48 100644 (file)
@@ -26,7 +26,7 @@ public:
         wxListCtrl(parent, id, pos, size, style)
    {
    }
-
+   
        void OnBeginDrag(wxListEvent& event);
        void OnBeginRDrag(wxListEvent& event);
        void OnBeginLabelEdit(wxListEvent& event);
@@ -39,6 +39,8 @@ public:
        void OnListKeyDown(wxListEvent& event);
        void OnActivated(wxListEvent& event);
 
+    void OnChar(wxKeyEvent& event);
+
    DECLARE_EVENT_TABLE()
 };
 
@@ -60,10 +62,10 @@ class MyFrame: public wxFrame
     void OnIconTextView(wxCommandEvent& event);
     void OnSmallIconView(wxCommandEvent& event);
     void OnSmallIconTextView(wxCommandEvent& event);
-    bool OnClose(void) { return TRUE; }
     void OnDeselectAll(wxCommandEvent& event);
     void OnSelectAll(wxCommandEvent& event);
-
+    void BusyOn(wxCommandEvent& event);
+    void BusyOff(wxCommandEvent& event);
    DECLARE_EVENT_TABLE()
 };
 
@@ -79,6 +81,8 @@ class MyFrame: public wxFrame
 #define LIST_DESELECT_ALL           8
 #define LIST_SELECT_ALL             9
 #define LIST_ABOUT                  102
+#define BUSY_ON                     10
+#define BUSY_OFF                    11
 
 #define LIST_CTRL                   1000