X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b504551c292ecb4296693983161ac5ad03745f6..e152afc3d45b72468b14ba15ab6badc19c735a70:/include/wx/generic/choicdgg.h diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 6678bc16b4..4abb598a53 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -15,7 +15,7 @@ #include "wx/dynarray.h" #include "wx/dialog.h" -class WXDLLEXPORT wxListBox; +class WXDLLEXPORT wxListBoxBase; // ---------------------------------------------------------------------------- // some (ugly...) constants @@ -80,7 +80,11 @@ public: long styleLbox = wxLB_ALWAYS_SB); protected: - wxListBox *m_listbox; + wxListBoxBase *m_listbox; + + virtual wxListBoxBase *CreateList(int n, + const wxString *choices, + long styleLbox); DECLARE_NO_COPY_CLASS(wxAnyChoiceDialog) }; @@ -206,6 +210,12 @@ public: virtual bool TransferDataFromWindow(); protected: +#if wxUSE_CHECKLISTBOX + virtual wxListBoxBase *CreateList(int n, + const wxString *choices, + long styleLbox); +#endif // wxUSE_CHECKLISTBOX + wxArrayInt m_selections; private: