]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listctrl/listtest.h
doc tweaks
[wxWidgets.git] / samples / listctrl / listtest.h
index 97a719b7dc31e0e78106aca981b6acc5ea72daab..a8e29bddf47a48e71f53d010106415dd0791fe55 100644 (file)
@@ -115,6 +115,7 @@ protected:
     void OnThaw(wxCommandEvent& event);
 
     void OnUpdateShowColInfo(wxUpdateUIEvent& event);
+    void OnUpdateToggleMultiSel(wxUpdateUIEvent& event);
 
     wxImageList *m_imageListNormal;
     wxImageList *m_imageListSmall;
@@ -125,14 +126,19 @@ protected:
 
 private:
     // recreate the list control with the new flags
-    void RecreateList(long flags, bool withText = TRUE);
+    void RecreateList(long flags, bool withText = true);
 
     // fill the control with items depending on the view
     void InitWithListItems();
     void InitWithReportItems();
-    void InitWithIconItems(bool withText, bool sameIcon = FALSE);
+    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)