]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.h
mention wxTheApp
[wxWidgets.git] / samples / listctrl / listtest.h
index db6eb7cfcfb6fae62ae6b775ca30c44aff245c4c..97a719b7dc31e0e78106aca981b6acc5ea72daab 100644 (file)
 class MyApp: public wxApp
 {
 public:
+    MyApp() { }
+
     virtual bool OnInit();
+
+private:
+    DECLARE_NO_COPY_CLASS(MyApp)
 };
 
 class MyListCtrl: public wxListCtrl
@@ -66,6 +71,7 @@ private:
 
     wxListItemAttr m_attr;
 
+    DECLARE_NO_COPY_CLASS(MyListCtrl)
     DECLARE_EVENT_TABLE()
 };
 
@@ -74,7 +80,9 @@ class MyFrame: public wxFrame
 {
 public:
     MyFrame(const wxChar *title, int x, int y, int w, int h);
-    ~MyFrame();
+    virtual ~MyFrame();
+
+    void DoSize();
 
 protected:
     void OnSize(wxSizeEvent& event);
@@ -127,6 +135,7 @@ private:
 
     wxLog *m_logOld;
 
+    DECLARE_NO_COPY_CLASS(MyFrame)
     DECLARE_EVENT_TABLE()
 };