X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/684571809d170c3b5ea62adb36e2fe78cbefcaca..3f93f659dccf2dfe5b12f4c01b53f5b401cd7d5e:/samples/listctrl/listtest.h?ds=sidebyside diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index b3efd7c148..a8e29bddf4 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -115,6 +115,7 @@ protected: void OnThaw(wxCommandEvent& event); void OnUpdateShowColInfo(wxUpdateUIEvent& event); + void OnUpdateToggleMultiSel(wxUpdateUIEvent& event); wxImageList *m_imageListNormal; wxImageList *m_imageListSmall; @@ -125,12 +126,12 @@ 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