]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.h
Since this class is fully inline don't specify an import/export policy
[wxWidgets.git] / samples / listctrl / listtest.h
index 0fafad7b7530cf9ec706ff5264694a35d456d766..b3efd7c148ac88972caa632f20a0d6cf52b92e61 100644 (file)
@@ -80,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);
@@ -131,6 +133,11 @@ private:
     void InitWithIconItems(bool withText, bool sameIcon = FALSE);
     void InitWithVirtualItems();
 
+    // return true if the control is not in virtual view, give an error message
+    // and return false if it is
+    bool CheckNonVirtual() const;
+
+
     wxLog *m_logOld;
 
     DECLARE_NO_COPY_CLASS(MyFrame)