]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dvrenderers.h
Part II of: Add GetChoice() and GetChoices() getters to all choice renderers and...
[wxWidgets.git] / include / wx / dvrenderers.h
index c05c109522b8db5ecff17c06ab6394021e575248..16cf3281b31a9cd92afbf867df76b911f6b6dae7 100644 (file)
@@ -333,6 +333,9 @@ public:
     virtual bool SetValue( const wxVariant &value );
     virtual bool GetValue( wxVariant &value ) const;
 
+    wxString GetChoice(size_t index) const { return m_choices[index]; }
+    const wxArrayString& GetChoices() const { return m_choices; }
+
 private:
     wxArrayString m_choices;
     wxString      m_data;