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:
@@ -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,
|
||||||
|
@@ -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"),
|
||||||
|
Reference in New Issue
Block a user