#include <wx/grid.h>
#include <wx/notebook.h>
#include <wx/splitter.h>
+#ifdef __WXMSW__
+#include <wx/msw/taskbar.h>
+#endif
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
}
+extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
-#ifdef __WXMSW__
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
-#endif
static char* wxStringErrorMsg = "string type is required for parameter";
+#define new_wxGridCell() (new wxGridCell())
+static PyObject *_wrap_new_wxGridCell(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxGridCell * _result;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,":new_wxGridCell"))
+ return NULL;
+ _result = (wxGridCell *)new_wxGridCell();
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define delete_wxGridCell(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxGridCell(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxGridCell * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxGridCell",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridCell_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGridCell. Expected _wxGridCell_p.");
+ return NULL;
+ }
+ }
+ delete_wxGridCell(_arg0);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxGridCell_GetTextValue(_swigobj) (_swigobj->GetTextValue())
static PyObject *_wrap_wxGridCell_GetTextValue(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return NULL;
}
}
- _result = (wxFont *)wxGridCell_GetFont(_arg0);
+ wxFont & _result_ref = wxGridCell_GetFont(_arg0);
+ _result = (wxFont *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return NULL;
}
}
- wxGridCell_SetFont(_arg0,_arg1);
+ wxGridCell_SetFont(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return NULL;
}
}
- _result = (wxBrush *)wxGridCell_GetBackgroundBrush(_arg0);
+ wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
+ _result = (wxBrush *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return NULL;
}
}
- _result = (wxFont *)wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
+ wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
+ _result = (wxFont *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return NULL;
}
}
- _result = (wxFont *)wxGrid_GetDefCellTextFont(_arg0);
+ wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
+ _result = (wxFont *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return NULL;
}
}
- _result = (wxFont *)wxGrid_GetLabelTextFont(_arg0);
+ wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
+ _result = (wxFont *) &_result_ref;
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
return _resultobj;
}
+#define wxGrid_OnActivate(_swigobj,_swigarg0) (_swigobj->OnActivate(_swigarg0))
+static PyObject *_wrap_wxGrid_OnActivate(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxGrid * _arg0;
+ bool _arg1;
+ char * _argc0 = 0;
+ int tempbool1;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxGrid_OnActivate",&_argc0,&tempbool1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGrid_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGrid_OnActivate. Expected _wxGrid_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+ wxGrid_OnActivate(_arg0,_arg1);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxGrid_SetCellAlignment(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCellAlignment(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_wxGrid_SetCellAlignment(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return NULL;
}
}
- wxGrid_SetCellTextFont(_arg0,_arg1,_arg2,_arg3);
+ wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return NULL;
}
}
- wxGrid_SetDefCellTextFont(_arg0,_arg1);
+ wxGrid_SetDefCellTextFont(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return NULL;
}
}
- wxGrid_SetDividerPen(_arg0,_arg1);
+ wxGrid_SetDividerPen(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return NULL;
}
}
- wxGrid_SetLabelTextFont(_arg0,_arg1);
+ wxGrid_SetLabelTextFont(_arg0,*_arg1);
Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return _resultobj;
}
+static void *SwigwxGridEventTowxEvent(void *ptr) {
+ wxGridEvent *src;
+ wxEvent *dest;
+ src = (wxGridEvent *) ptr;
+ dest = (wxEvent *) src;
+ return (void *) dest;
+}
+
+#define wxGridEvent_m_row_get(_swigobj) ((int ) _swigobj->m_row)
+static PyObject *_wrap_wxGridEvent_m_row_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_row_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_row_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxGridEvent_m_row_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col)
+static PyObject *_wrap_wxGridEvent_m_col_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_col_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_col_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxGridEvent_m_col_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_x_get(_swigobj) ((int ) _swigobj->m_x)
+static PyObject *_wrap_wxGridEvent_m_x_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_x_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_x_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxGridEvent_m_x_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_y_get(_swigobj) ((int ) _swigobj->m_y)
+static PyObject *_wrap_wxGridEvent_m_y_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_y_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_y_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxGridEvent_m_y_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_control_get(_swigobj) ((bool ) _swigobj->m_control)
+static PyObject *_wrap_wxGridEvent_m_control_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_control_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_control_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxGridEvent_m_control_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_shift_get(_swigobj) ((bool ) _swigobj->m_shift)
+static PyObject *_wrap_wxGridEvent_m_shift_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_shift_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_shift_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxGridEvent_m_shift_get(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxGridEvent_m_cell_get(_swigobj) ((wxGridCell *) _swigobj->m_cell)
+static PyObject *_wrap_wxGridEvent_m_cell_get(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxGridCell * _result;
+ wxGridEvent * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxGridEvent_m_cell_get",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGridEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridEvent_m_cell_get. Expected _wxGridEvent_p.");
+ return NULL;
+ }
+ }
+ _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
wxNotebookEvent *src;
wxCommandEvent *dest;
wxWindowID _arg1;
wxPoint * _arg2 = &wxPyDefaultPosition;
wxSize * _arg3 = &wxPyDefaultSize;
- long _arg4 = (wxSP_3D);
+ long _arg4 = (wxSP_3D)|(wxCLIP_CHILDREN);
char * _arg5 = "splitterWindow";
char * _argc0 = 0;
char * _argc2 = 0;
return _resultobj;
}
+#define wxSplitterWindow_GetBorderSize(_swigobj) (_swigobj->GetBorderSize())
+static PyObject *_wrap_wxSplitterWindow_GetBorderSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSplitterWindow * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetBorderSize",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetBorderSize. Expected _wxSplitterWindow_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
#define wxSplitterWindow_GetMinimumPaneSize(_swigobj) (_swigobj->GetMinimumPaneSize())
static PyObject *_wrap_wxSplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return _resultobj;
}
+#define wxSplitterWindow_GetSashSize(_swigobj) (_swigobj->GetSashSize())
+static PyObject *_wrap_wxSplitterWindow_GetSashSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSplitterWindow * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterWindow_GetSashSize",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_GetSashSize. Expected _wxSplitterWindow_p.");
+ return NULL;
+ }
+ }
+ _result = (int )wxSplitterWindow_GetSashSize(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
#define wxSplitterWindow_GetSplitMode(_swigobj) (_swigobj->GetSplitMode())
static PyObject *_wrap_wxSplitterWindow_GetSplitMode(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return _resultobj;
}
+#define wxSplitterWindow_SetBorderSize(_swigobj,_swigarg0) (_swigobj->SetBorderSize(_swigarg0))
+static PyObject *_wrap_wxSplitterWindow_SetBorderSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSplitterWindow * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetBorderSize",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetBorderSize. Expected _wxSplitterWindow_p.");
+ return NULL;
+ }
+ }
+ wxSplitterWindow_SetBorderSize(_arg0,_arg1);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxSplitterWindow_SetSashPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSashPosition(_swigarg0,_swigarg1))
static PyObject *_wrap_wxSplitterWindow_SetSashPosition(PyObject *self, PyObject *args) {
PyObject * _resultobj;
return _resultobj;
}
+#define wxSplitterWindow_SetSashSize(_swigobj,_swigarg0) (_swigobj->SetSashSize(_swigarg0))
+static PyObject *_wrap_wxSplitterWindow_SetSashSize(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSplitterWindow * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxSplitterWindow_SetSashSize",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterWindow_SetSashSize. Expected _wxSplitterWindow_p.");
+ return NULL;
+ }
+ }
+ wxSplitterWindow_SetSashSize(_arg0,_arg1);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxSplitterWindow_SetMinimumPaneSize(_swigobj,_swigarg0) (_swigobj->SetMinimumPaneSize(_swigarg0))
static PyObject *_wrap_wxSplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxSplitterWindow * _arg0;
wxWindow * _arg1;
wxWindow * _arg2;
- int _arg3 = -1;
+ int _arg3 = 0;
char * _argc0 = 0;
char * _argc1 = 0;
char * _argc2 = 0;
wxSplitterWindow * _arg0;
wxWindow * _arg1;
wxWindow * _arg2;
- int _arg3 = -1;
+ int _arg3 = 0;
char * _argc0 = 0;
char * _argc1 = 0;
char * _argc2 = 0;
return _resultobj;
}
+static void *SwigwxTaskBarIconTowxEvtHandler(void *ptr) {
+ wxTaskBarIcon *src;
+ wxEvtHandler *dest;
+ src = (wxTaskBarIcon *) ptr;
+ dest = (wxEvtHandler *) src;
+ return (void *) dest;
+}
+
+#define new_wxTaskBarIcon() (new wxTaskBarIcon())
+static PyObject *_wrap_new_wxTaskBarIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxTaskBarIcon * _result;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,":new_wxTaskBarIcon"))
+ return NULL;
+ _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
+ SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define delete_wxTaskBarIcon(_swigobj) (delete _swigobj)
+static PyObject *_wrap_delete_wxTaskBarIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxTaskBarIcon * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:delete_wxTaskBarIcon",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTaskBarIcon. Expected _wxTaskBarIcon_p.");
+ return NULL;
+ }
+ }
+ delete_wxTaskBarIcon(_arg0);
+ Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxTaskBarIcon_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxTaskBarIcon_SetIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxTaskBarIcon * _arg0;
+ wxIcon * _arg1;
+ char * _arg2 = "";
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss|s:wxTaskBarIcon_SetIcon",&_argc0,&_argc1,&_arg2))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_SetIcon. Expected _wxTaskBarIcon_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_SetIcon. Expected _wxIcon_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTaskBarIcon_RemoveIcon(_swigobj) (_swigobj->RemoveIcon())
+static PyObject *_wrap_wxTaskBarIcon_RemoveIcon(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxTaskBarIcon * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxTaskBarIcon_RemoveIcon",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_RemoveIcon. Expected _wxTaskBarIcon_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxTaskBarIcon_PopupMenu(_swigobj,_swigarg0) (_swigobj->PopupMenu(_swigarg0))
+static PyObject *_wrap_wxTaskBarIcon_PopupMenu(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxTaskBarIcon * _arg0;
+ wxMenu * _arg1;
+ char * _argc0 = 0;
+ char * _argc1 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"ss:wxTaskBarIcon_PopupMenu",&_argc0,&_argc1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTaskBarIcon_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTaskBarIcon_PopupMenu. Expected _wxTaskBarIcon_p.");
+ return NULL;
+ }
+ }
+ if (_argc1) {
+ if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxMenu_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTaskBarIcon_PopupMenu. Expected _wxMenu_p.");
+ return NULL;
+ }
+ }
+ _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
+ _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
static PyMethodDef windows2cMethods[] = {
+ { "wxTaskBarIcon_PopupMenu", _wrap_wxTaskBarIcon_PopupMenu, 1 },
+ { "wxTaskBarIcon_RemoveIcon", _wrap_wxTaskBarIcon_RemoveIcon, 1 },
+ { "wxTaskBarIcon_SetIcon", _wrap_wxTaskBarIcon_SetIcon, 1 },
+ { "delete_wxTaskBarIcon", _wrap_delete_wxTaskBarIcon, 1 },
+ { "new_wxTaskBarIcon", _wrap_new_wxTaskBarIcon, 1 },
{ "wxSplitterWindow_Unsplit", _wrap_wxSplitterWindow_Unsplit, 1 },
{ "wxSplitterWindow_SplitVertically", _wrap_wxSplitterWindow_SplitVertically, 1 },
{ "wxSplitterWindow_SplitHorizontally", _wrap_wxSplitterWindow_SplitHorizontally, 1 },
{ "wxSplitterWindow_SetSplitMode", _wrap_wxSplitterWindow_SetSplitMode, 1 },
{ "wxSplitterWindow_SetMinimumPaneSize", _wrap_wxSplitterWindow_SetMinimumPaneSize, 1 },
+ { "wxSplitterWindow_SetSashSize", _wrap_wxSplitterWindow_SetSashSize, 1 },
{ "wxSplitterWindow_SetSashPosition", _wrap_wxSplitterWindow_SetSashPosition, 1 },
+ { "wxSplitterWindow_SetBorderSize", _wrap_wxSplitterWindow_SetBorderSize, 1 },
{ "wxSplitterWindow_IsSplit", _wrap_wxSplitterWindow_IsSplit, 1 },
{ "wxSplitterWindow_Initialize", _wrap_wxSplitterWindow_Initialize, 1 },
{ "wxSplitterWindow_GetWindow2", _wrap_wxSplitterWindow_GetWindow2, 1 },
{ "wxSplitterWindow_GetWindow1", _wrap_wxSplitterWindow_GetWindow1, 1 },
{ "wxSplitterWindow_GetSplitMode", _wrap_wxSplitterWindow_GetSplitMode, 1 },
+ { "wxSplitterWindow_GetSashSize", _wrap_wxSplitterWindow_GetSashSize, 1 },
{ "wxSplitterWindow_GetSashPosition", _wrap_wxSplitterWindow_GetSashPosition, 1 },
{ "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
+ { "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
{ "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
{ "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
{ "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 },
{ "new_wxNotebook", _wrap_new_wxNotebook, 1 },
{ "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
{ "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
+ { "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
+ { "wxGridEvent_m_shift_get", _wrap_wxGridEvent_m_shift_get, 1 },
+ { "wxGridEvent_m_control_get", _wrap_wxGridEvent_m_control_get, 1 },
+ { "wxGridEvent_m_y_get", _wrap_wxGridEvent_m_y_get, 1 },
+ { "wxGridEvent_m_x_get", _wrap_wxGridEvent_m_x_get, 1 },
+ { "wxGridEvent_m_col_get", _wrap_wxGridEvent_m_col_get, 1 },
+ { "wxGridEvent_m_row_get", _wrap_wxGridEvent_m_row_get, 1 },
{ "wxGrid_UpdateDimensions", _wrap_wxGrid_UpdateDimensions, 1 },
{ "wxGrid_SetRowHeight", _wrap_wxGrid_SetRowHeight, 1 },
{ "wxGrid_SetLabelValue", _wrap_wxGrid_SetLabelValue, 1 },
{ "wxGrid_SetCellBackgroundColour", _wrap_wxGrid_SetCellBackgroundColour, 1 },
{ "wxGrid_SetDefCellAlignment", _wrap_wxGrid_SetDefCellAlignment, 1 },
{ "wxGrid_SetCellAlignment", _wrap_wxGrid_SetCellAlignment, 1 },
+ { "wxGrid_OnActivate", _wrap_wxGrid_OnActivate, 1 },
{ "wxGrid_InsertRows", _wrap_wxGrid_InsertRows, 1 },
{ "wxGrid_InsertCols", _wrap_wxGrid_InsertCols, 1 },
{ "wxGrid_GetVertScrollBar", _wrap_wxGrid_GetVertScrollBar, 1 },
{ "wxGridCell_GetFont", _wrap_wxGridCell_GetFont, 1 },
{ "wxGridCell_SetTextValue", _wrap_wxGridCell_SetTextValue, 1 },
{ "wxGridCell_GetTextValue", _wrap_wxGridCell_GetTextValue, 1 },
+ { "delete_wxGridCell", _wrap_delete_wxGridCell, 1 },
+ { "new_wxGridCell", _wrap_new_wxGridCell, 1 },
{ NULL, NULL }
};
static PyObject *SWIG_globals;
PyDict_SetItemString(d,"wxGRID_TEXT_CTRL", PyInt_FromLong((long) wxGRID_TEXT_CTRL));
PyDict_SetItemString(d,"wxGRID_HSCROLL", PyInt_FromLong((long) wxGRID_HSCROLL));
PyDict_SetItemString(d,"wxGRID_VSCROLL", PyInt_FromLong((long) wxGRID_VSCROLL));
+ PyDict_SetItemString(d,"wxEVT_GRID_SELECT_CELL", PyInt_FromLong((long) wxEVT_GRID_SELECT_CELL));
+ PyDict_SetItemString(d,"wxEVT_GRID_CREATE_CELL", PyInt_FromLong((long) wxEVT_GRID_CREATE_CELL));
+ PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_LABELS", PyInt_FromLong((long) wxEVT_GRID_CHANGE_LABELS));
+ PyDict_SetItemString(d,"wxEVT_GRID_CHANGE_SEL_LABEL", PyInt_FromLong((long) wxEVT_GRID_CHANGE_SEL_LABEL));
+ PyDict_SetItemString(d,"wxEVT_GRID_CELL_CHANGE", PyInt_FromLong((long) wxEVT_GRID_CELL_CHANGE));
+ PyDict_SetItemString(d,"wxEVT_GRID_CELL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_LCLICK));
+ PyDict_SetItemString(d,"wxEVT_GRID_CELL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_CELL_RCLICK));
+ PyDict_SetItemString(d,"wxEVT_GRID_LABEL_LCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_LCLICK));
+ PyDict_SetItemString(d,"wxEVT_GRID_LABEL_RCLICK", PyInt_FromLong((long) wxEVT_GRID_LABEL_RCLICK));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_MOVE", PyInt_FromLong((long) wxEVT_TASKBAR_MOVE));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DOWN));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_UP));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DOWN));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_UP));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_LEFT_DCLICK));
+ PyDict_SetItemString(d,"wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong((long) wxEVT_TASKBAR_RIGHT_DCLICK));
/*
* These are the pointer type-equivalency mappings.
* (Used by the SWIG pointer type-checker).
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
+ SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
+ SWIG_RegisterMapping("_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
SWIG_RegisterMapping("_signed_long","_long",0);
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
+ SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
+ SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
+ SWIG_RegisterMapping("_class_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
+ SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
SWIG_RegisterMapping("_uint","_wxWindowID",0);
SWIG_RegisterMapping("_class_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
SWIG_RegisterMapping("_class_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
+ SWIG_RegisterMapping("_class_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
+ SWIG_RegisterMapping("_class_wxEvent","_wxGridEvent",SwigwxGridEventTowxEvent);
SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
+ SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
+ SWIG_RegisterMapping("_wxTaskBarIcon","_class_wxTaskBarIcon",0);
SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
+ SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_EBool","_signed_int",0);
SWIG_RegisterMapping("_EBool","_int",0);
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
+ SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
SWIG_RegisterMapping("_signed_short","_short",0);
SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
+ SWIG_RegisterMapping("_class_wxTaskBarIcon","_wxTaskBarIcon",0);
SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
+ SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
SWIG_RegisterMapping("_int","_unsigned_int",0);
SWIG_RegisterMapping("_int","_signed_int",0);
SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
+ SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
+ SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
+ SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
+ SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
SWIG_RegisterMapping("_class_wxSplitterWindow","_wxSplitterWindow",0);
SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
+ SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
+ SWIG_RegisterMapping("_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
+ SWIG_RegisterMapping("_wxEvtHandler","_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_wxSplitterWindow",SwigwxSplitterWindowTowxEvtHandler);
SWIG_RegisterMapping("_wxEvtHandler","_class_wxNotebook",SwigwxNotebookTowxEvtHandler);
SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
+ SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
SWIG_RegisterMapping("_wxWindow","_class_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);
SWIG_RegisterMapping("_wxWindow","_wxSplitterWindow",SwigwxSplitterWindowTowxWindow);