class wxPyGridCellRenderer : public wxGridCellRenderer {
public:
wxPyGridCellRenderer();
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxPyGridCellRenderer)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyGridCellRenderer)"
void base_SetParameters(const wxString& params);
};
class wxPyGridCellEditor : public wxGridCellEditor {
public:
wxPyGridCellEditor();
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxPyGridCellEditor)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyGridCellEditor)"
void base_SetSize(const wxRect& rect);
void base_Show(bool show, wxGridCellAttr *attr = NULL);
{
public:
wxPyGridCellAttrProvider();
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxPyGridCellAttrProvider)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyGridCellAttrProvider)"
wxGridCellAttr *base_GetAttr(int row, int col,
wxGridCellAttr::wxAttrKind kind);
{
public:
wxPyGridTableBase();
- void _setSelf(PyObject* self, PyObject* _class);
- %pragma(python) addtomethod = "__init__:self._setSelf(self, wxPyGridTableBase)"
+ void _setCallbackInfo(PyObject* self, PyObject* _class);
+ %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyGridTableBase)"
%addmethods { void Destroy() { delete self; } }
long style = wxWANTS_CHARS,
const char* name = wxPanelNameStr );
+ %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
enum wxGridSelectionModes {wxGridSelectCells,
wxGridSelectRows,
int horizontalAlignment = wxLEFT,
int verticalAlignment = wxTOP );
- // Split a string containing newline chararcters into an array of
- // strings and return the number of lines
- //
- void StringToLines( const wxString& value, wxArrayString& lines );
+// // Split a string containing newline chararcters into an array of
+// // strings and return the number of lines
+// //
+// void StringToLines( const wxString& value, wxArrayString& lines );
void GetTextBoxSize( wxDC& dc,
wxArrayString& lines,