Changed wxGridCellChoiceEditor's constructor to take an array of

wxStrings instead of wxChar*'s.  This saved a lot of work for
wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-04-08 08:16:08 +00:00
parent 87b389965c
commit a410206586
2 changed files with 2 additions and 2 deletions

View File

@@ -504,7 +504,7 @@ class WXDLLEXPORT wxGridCellChoiceEditor : public wxGridCellEditor
public: public:
// if !allowOthers, user can't type a string not in choices array // if !allowOthers, user can't type a string not in choices array
wxGridCellChoiceEditor(size_t count = 0, wxGridCellChoiceEditor(size_t count = 0,
const wxChar* choices[] = NULL, const wxString choices[] = NULL,
bool allowOthers = FALSE); bool allowOthers = FALSE);
virtual void Create(wxWindow* parent, virtual void Create(wxWindow* parent,

View File

@@ -855,7 +855,7 @@ enum Severity
Sev_Max Sev_Max
}; };
static const wxChar* severities[] = static const wxString severities[] =
{ {
_T("wishlist"), _T("wishlist"),
_T("minor"), _T("minor"),