#include <wx/grid.h>
#include <wx/generic/gridctrl.h>
- DECLARE_DEF_STRING(PanelNameStr);
- DECLARE_DEF_STRING2(DateTimeFormatStr, wxT("%c"));
- static const wxString wxPyEmptyString(wxT(""));
%}
%import windows.i
%pythoncode { wx = core }
+
%include _grid_rename.i
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
+MAKE_CONST_WXSTRING2(DateTimeFormatStr, wxT("%c"));
+
+
//---------------------------------------------------------------------------
// OOR related typemaps and helper functions
{
public:
%addtofunc wxGridCellChoiceEditor "self._setOORInfo(self)"
- wxGridCellChoiceEditor(int LCOUNT = 0,
- const wxString* choices = NULL,
+ wxGridCellChoiceEditor(int choices = 0,
+ const wxString* choices_array = NULL,
bool allowOthers = False);
virtual wxString GetValue();
};