self = self;
if(!PyArg_ParseTuple(args,":new_wxGridCell"))
return NULL;
- _result = (wxGridCell *)new_wxGridCell();
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxGridCell *)new_wxGridCell();
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- delete_wxGridCell(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxGridCell(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxString & _result_ref = wxGridCell_GetTextValue(_arg0);
- _result = (wxString *) &_result_ref;
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxString & _result_ref = wxGridCell_GetTextValue(_arg0);
+ _result = (wxString *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxGridCell_SetTextValue(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetTextValue(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
return NULL;
}
}
- wxFont & _result_ref = wxGridCell_GetFont(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont & _result_ref = wxGridCell_GetFont(_arg0);
_result = (wxFont *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxGridCell_SetFont(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetFont(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGridCell_GetTextColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxGridCell_SetTextColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetTextColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGridCell_GetBackgroundColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxGridCell_SetBackgroundColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetBackgroundColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxBrush & _result_ref = wxGridCell_GetBackgroundBrush(_arg0);
_result = (wxBrush *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridCell_GetAlignment(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridCell_GetAlignment(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxGridCell_SetAlignment(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetAlignment(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxBitmap *)wxGridCell_GetCellBitmap(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxGridCell_SetCellBitmap(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGridCell_SetCellBitmap(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxGrid *)new_wxGrid(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxGrid_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxGrid_AdjustScrollbars(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_AdjustScrollbars(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
_arg2 = (bool ) tempbool2;
- _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_AppendCols(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg2 = (bool ) tempbool2;
- _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_AppendRows(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxGrid_BeginBatch(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_BeginBatch(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_CellHitTest(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
PyObject *o;
o = PyInt_FromLong((long) (*_arg3));
return NULL;
}
}
- _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_CreateGrid(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxGrid_CurrentCellVisible(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_CurrentCellVisible(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg3 = (bool ) tempbool3;
- _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_DeleteCols(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg3 = (bool ) tempbool3;
- _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_DeleteRows(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxGrid_EndBatch(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_EndBatch(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetBatchCount(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetBatchCount(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxGridCell *)wxGrid_GetCell(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetCellAlignment(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetDefCellAlignment(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetDefCellAlignment(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetCellBackgroundColour(_arg0,_arg1,_arg2);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetDefCellBackgroundColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetCellTextColour(_arg0,_arg1,_arg2);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetDefCellTextColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont & _result_ref = wxGrid_GetCellTextFont(_arg0,_arg1,_arg2);
_result = (wxFont *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont & _result_ref = wxGrid_GetDefCellTextFont(_arg0);
_result = (wxFont *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
- _result = (wxString *) &_result_ref;
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxString & _result_ref = wxGrid_GetCellValue(_arg0,_arg1,_arg2);
+ _result = (wxString *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
return NULL;
}
}
- _result = (int )wxGrid_GetCols(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetCols(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetColumnWidth(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxRect & _result_ref = wxGrid_GetCurrentRect(_arg0);
- _result = (wxRect *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxRect (wxGrid_GetCurrentRect(_arg0));
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetCursorColumn(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetCursorColumn(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetCursorRow(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetCursorRow(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxGrid_GetEditable(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_GetEditable(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxScrollBar *)wxGrid_GetHorizScrollBar(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetLabelAlignment(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetLabelBackgroundColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetLabelSize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxColour & _result_ref = wxGrid_GetLabelTextColour(_arg0);
_result = (wxColour *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFont & _result_ref = wxGrid_GetLabelTextFont(_arg0);
_result = (wxFont *) &_result_ref;
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
- _result = (wxString *) &_result_ref;
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxString & _result_ref = wxGrid_GetLabelValue(_arg0,_arg1,_arg2);
+ _result = (wxString *) &_result_ref;
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
return _resultobj;
return NULL;
}
}
- _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetRowHeight(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetRows(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetRows(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetScrollPosX(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetScrollPosX(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGrid_GetScrollPosY(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGrid_GetScrollPosY(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxTextCtrl *)wxGrid_GetTextItem(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxScrollBar *)wxGrid_GetVertScrollBar(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
}
}
_arg3 = (bool ) tempbool3;
- _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_InsertCols(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg3 = (bool ) tempbool3;
- _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGrid_InsertRows(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxGrid_OnActivate(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_OnActivate(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetCellAlignment(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetDefCellAlignment(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetDefCellAlignment(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetCellBackgroundColour(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetDefCellBackgroundColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetCellTextColour(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetDefCellTextColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetDefCellTextColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetCellTextFont(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetDefCellTextFont(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetDefCellTextFont(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetCellValue(_arg0,*_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
return NULL;
}
}
- wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetColumnWidth(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetDividerPen(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetDividerPen(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxGrid_SetEditable(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetEditable(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetGridCursor(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelAlignment(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelBackgroundColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelSize(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetLabelTextColour(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelTextColour(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_SetLabelTextFont(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelTextFont(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg2 = new wxString(PyString_AsString(_obj2));
+ _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
}
- wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetLabelValue(_arg0,_arg1,*_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj2)
return NULL;
}
}
- wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_SetRowHeight(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxGrid_UpdateDimensions(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxGrid_UpdateDimensions(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_row_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_row_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_row_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_row_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_col_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_col_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_col_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_col_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_x_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_x_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_x_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_x_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_y_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_y_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxGridEvent_m_y_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxGridEvent_m_y_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGridEvent_m_control_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxGridEvent_m_control_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGridEvent_m_control_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGridEvent_m_shift_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxGridEvent_m_shift_get(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxGridEvent_m_shift_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxGridCell *)wxGridEvent_m_cell_set(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxGridCell *)wxGridEvent_m_cell_get(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridCell_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
+static void *SwigwxNotebookEventTowxNotifyEvent(void *ptr) {
+ wxNotebookEvent *src;
+ wxNotifyEvent *dest;
+ src = (wxNotebookEvent *) ptr;
+ dest = (wxNotifyEvent *) src;
+ return (void *) dest;
+}
+
static void *SwigwxNotebookEventTowxCommandEvent(void *ptr) {
wxNotebookEvent *src;
wxCommandEvent *dest;
return NULL;
}
}
- _result = (int )wxNotebookEvent_GetSelection(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebookEvent_GetSelection(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebookEvent_GetOldSelection(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxNotebookEvent_SetOldSelection(_swigobj,_swigarg0) (_swigobj->SetOldSelection(_swigarg0))
+static PyObject *_wrap_wxNotebookEvent_SetOldSelection(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxNotebookEvent * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetOldSelection",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetOldSelection. Expected _wxNotebookEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxNotebookEvent_SetOldSelection(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxNotebookEvent_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
+static PyObject *_wrap_wxNotebookEvent_SetSelection(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxNotebookEvent * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxNotebookEvent_SetSelection",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebookEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookEvent_SetSelection. Expected _wxNotebookEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxNotebookEvent_SetSelection(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxNotebook *)new_wxNotebook(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebook_GetPageCount(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebook_GetPageCount(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebook_SetSelection(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxNotebook_AdvanceSelection(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxNotebook_AdvanceSelection(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebook_GetSelection(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebook_GetSelection(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg2 = new wxString(PyString_AsString(_obj2));
+ _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
}
- _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_SetPageText(_arg0,_arg1,*_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj2)
delete _arg2;
return NULL;
}
}
- _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxString (wxNotebook_GetPageText(_arg0,_arg1));
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
return NULL;
}
}
- wxNotebook_SetImageList(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxNotebook_SetImageList(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxImageList *)wxNotebook_GetImageList(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebook_GetPageImage(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_SetPageImage(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxNotebook_GetRowCount(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxNotebook_GetRowCount(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_DeletePage(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxNotebook_RemovePage(_swigobj,_swigarg0) (_swigobj->RemovePage(_swigarg0))
+static PyObject *_wrap_wxNotebook_RemovePage(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ bool _result;
+ wxNotebook * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxNotebook_RemovePage",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_RemovePage. Expected _wxNotebook_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_RemovePage(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxNotebook_DeleteAllPages(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_DeleteAllPages(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxNotebook * _arg0;
wxWindow * _arg1;
wxString * _arg2;
- bool _arg3 = (0);
+ int _arg3 = (0);
int _arg4 = -1;
char * _argc0 = 0;
char * _argc1 = 0;
PyObject * _obj2 = 0;
- int tempbool3;
self = self;
- if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&tempbool3,&_arg4))
+ if(!PyArg_ParseTuple(args,"ssO|ii:wxNotebook_AddPage",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg2 = new wxString(PyString_AsString(_obj2));
+ _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
}
- _arg3 = (bool ) tempbool3;
- _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_AddPage(_arg0,_arg1,*_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj2)
delete _arg2;
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg3 = new wxString(PyString_AsString(_obj3));
+ _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
}
_arg4 = (bool ) tempbool4;
- _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxNotebook_InsertPage(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
{
if (_obj3)
delete _arg3;
#define wxNotebook_GetPage(_swigobj,_swigarg0) (_swigobj->GetPage(_swigarg0))
static PyObject *_wrap_wxNotebook_GetPage(PyObject *self, PyObject *args) {
PyObject * _resultobj;
- wxNotebookPage * _result;
+ wxWindow * _result;
wxNotebook * _arg0;
int _arg1;
char * _argc0 = 0;
return NULL;
}
}
- _result = (wxNotebookPage *)wxNotebook_GetPage(_arg0,_arg1);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookPage_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxWindow *)wxNotebook_GetPage(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
+static void wxNotebook_ResizeChildren(wxNotebook *self) {
+ wxSizeEvent evt(self->GetClientSize());
+ self->GetEventHandler()->ProcessEvent(evt);
+ }
+static PyObject *_wrap_wxNotebook_ResizeChildren(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxNotebook * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxNotebook_ResizeChildren",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxNotebook_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebook_ResizeChildren. Expected _wxNotebook_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxNotebook_ResizeChildren(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static void *SwigwxSplitterEventTowxCommandEvent(void *ptr) {
+ wxSplitterEvent *src;
+ wxCommandEvent *dest;
+ src = (wxSplitterEvent *) ptr;
+ dest = (wxCommandEvent *) src;
+ return (void *) dest;
+}
+
+static void *SwigwxSplitterEventTowxEvent(void *ptr) {
+ wxSplitterEvent *src;
+ wxEvent *dest;
+ src = (wxSplitterEvent *) ptr;
+ dest = (wxEvent *) src;
+ return (void *) dest;
+}
+
+#define wxSplitterEvent_GetSashPosition(_swigobj) (_swigobj->GetSashPosition())
+static PyObject *_wrap_wxSplitterEvent_GetSashPosition(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSplitterEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetSashPosition",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetSashPosition. Expected _wxSplitterEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterEvent_GetSashPosition(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSplitterEvent_GetX(_swigobj) (_swigobj->GetX())
+static PyObject *_wrap_wxSplitterEvent_GetX(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSplitterEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetX",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetX. Expected _wxSplitterEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterEvent_GetX(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSplitterEvent_GetY(_swigobj) (_swigobj->GetY())
+static PyObject *_wrap_wxSplitterEvent_GetY(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ int _result;
+ wxSplitterEvent * _arg0;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetY",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetY. Expected _wxSplitterEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterEvent_GetY(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+#define wxSplitterEvent_GetWindowBeingRemoved(_swigobj) (_swigobj->GetWindowBeingRemoved())
+static PyObject *_wrap_wxSplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxWindow * _result;
+ wxSplitterEvent * _arg0;
+ char * _argc0 = 0;
+ char _ptemp[128];
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"s:wxSplitterEvent_GetWindowBeingRemoved",&_argc0))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_GetWindowBeingRemoved. Expected _wxSplitterEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxWindow *)wxSplitterEvent_GetWindowBeingRemoved(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
+ _resultobj = Py_BuildValue("s",_ptemp);
+ return _resultobj;
+}
+
+#define wxSplitterEvent_SetSashPosition(_swigobj,_swigarg0) (_swigobj->SetSashPosition(_swigarg0))
+static PyObject *_wrap_wxSplitterEvent_SetSashPosition(PyObject *self, PyObject *args) {
+ PyObject * _resultobj;
+ wxSplitterEvent * _arg0;
+ int _arg1;
+ char * _argc0 = 0;
+
+ self = self;
+ if(!PyArg_ParseTuple(args,"si:wxSplitterEvent_SetSashPosition",&_argc0,&_arg1))
+ return NULL;
+ if (_argc0) {
+ if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSplitterEvent_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSplitterEvent_SetSashPosition. Expected _wxSplitterEvent_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterEvent_SetSashPosition(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
static void *SwigwxSplitterWindowTowxWindow(void *ptr) {
wxSplitterWindow *src;
wxWindow *dest;
return NULL;
}
}
- _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxSplitterWindow *)new_wxSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterWindow_GetBorderSize(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterWindow_GetMinimumPaneSize(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterWindow_GetSashPosition(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxSplitterWindow_GetSashSize(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterWindow_GetSashSize(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (int )wxSplitterWindow_GetSplitMode(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxWindow *)wxSplitterWindow_GetWindow1(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxWindow *)wxSplitterWindow_GetWindow2(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_Initialize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_Initialize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxSplitterWindow_IsSplit(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxSplitterWindow_IsSplit(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_SetBorderSize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_SetBorderSize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_SetSashPosition(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_SetSashSize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_SetSashSize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_SetMinimumPaneSize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxSplitterWindow_SetSplitMode(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxSplitterWindow_SetSplitMode(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxSplitterWindow_SplitHorizontally(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxSplitterWindow_SplitVertically(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxSplitterWindow_Unsplit(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
self = self;
if(!PyArg_ParseTuple(args,":new_wxTaskBarIcon"))
return NULL;
- _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxTaskBarIcon *)new_wxTaskBarIcon();
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxTaskBarIcon_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- delete_wxTaskBarIcon(_arg0);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ delete_wxTaskBarIcon(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxTaskBarIcon_SetIcon(_arg0,*_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxTaskBarIcon_RemoveIcon(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxTaskBarIcon_PopupMenu(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
{ "wxSplitterWindow_GetMinimumPaneSize", _wrap_wxSplitterWindow_GetMinimumPaneSize, 1 },
{ "wxSplitterWindow_GetBorderSize", _wrap_wxSplitterWindow_GetBorderSize, 1 },
{ "new_wxSplitterWindow", _wrap_new_wxSplitterWindow, 1 },
+ { "wxSplitterEvent_SetSashPosition", _wrap_wxSplitterEvent_SetSashPosition, 1 },
+ { "wxSplitterEvent_GetWindowBeingRemoved", _wrap_wxSplitterEvent_GetWindowBeingRemoved, 1 },
+ { "wxSplitterEvent_GetY", _wrap_wxSplitterEvent_GetY, 1 },
+ { "wxSplitterEvent_GetX", _wrap_wxSplitterEvent_GetX, 1 },
+ { "wxSplitterEvent_GetSashPosition", _wrap_wxSplitterEvent_GetSashPosition, 1 },
+ { "wxNotebook_ResizeChildren", _wrap_wxNotebook_ResizeChildren, 1 },
{ "wxNotebook_GetPage", _wrap_wxNotebook_GetPage, 1 },
{ "wxNotebook_InsertPage", _wrap_wxNotebook_InsertPage, 1 },
{ "wxNotebook_AddPage", _wrap_wxNotebook_AddPage, 1 },
{ "wxNotebook_DeleteAllPages", _wrap_wxNotebook_DeleteAllPages, 1 },
+ { "wxNotebook_RemovePage", _wrap_wxNotebook_RemovePage, 1 },
{ "wxNotebook_DeletePage", _wrap_wxNotebook_DeletePage, 1 },
{ "wxNotebook_GetRowCount", _wrap_wxNotebook_GetRowCount, 1 },
{ "wxNotebook_SetPageImage", _wrap_wxNotebook_SetPageImage, 1 },
{ "wxNotebook_SetSelection", _wrap_wxNotebook_SetSelection, 1 },
{ "wxNotebook_GetPageCount", _wrap_wxNotebook_GetPageCount, 1 },
{ "new_wxNotebook", _wrap_new_wxNotebook, 1 },
+ { "wxNotebookEvent_SetSelection", _wrap_wxNotebookEvent_SetSelection, 1 },
+ { "wxNotebookEvent_SetOldSelection", _wrap_wxNotebookEvent_SetOldSelection, 1 },
{ "wxNotebookEvent_GetOldSelection", _wrap_wxNotebookEvent_GetOldSelection, 1 },
{ "wxNotebookEvent_GetSelection", _wrap_wxNotebookEvent_GetSelection, 1 },
{ "wxGridEvent_m_cell_get", _wrap_wxGridEvent_m_cell_get, 1 },
* (Used by the SWIG pointer type-checker).
*/
SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
+ SWIG_RegisterMapping("_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
+ SWIG_RegisterMapping("_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_wxNotebookEvent",SwigwxNotebookEventTowxEvent);
SWIG_RegisterMapping("_wxEvent","_class_wxGridEvent",SwigwxGridEventTowxEvent);
SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
SWIG_RegisterMapping("_signed_long","_long",0);
SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
+ SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTaskBarIcon",SwigwxTaskBarIconTowxEvtHandler);
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
+ SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
+ SWIG_RegisterMapping("_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
+ SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxGrid","_class_wxGrid",0);
SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
+ SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_size_t","_unsigned_int",0);
+ SWIG_RegisterMapping("_size_t","_int",0);
+ SWIG_RegisterMapping("_size_t","_wxWindowID",0);
+ SWIG_RegisterMapping("_size_t","_uint",0);
SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
+ SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
SWIG_RegisterMapping("_class_wxNotebookEvent","_wxNotebookEvent",0);
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
+ SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_uint","_size_t",0);
SWIG_RegisterMapping("_uint","_unsigned_int",0);
SWIG_RegisterMapping("_uint","_int",0);
SWIG_RegisterMapping("_uint","_wxWindowID",0);
+ SWIG_RegisterMapping("_class_wxEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
+ SWIG_RegisterMapping("_class_wxEvent","_wxSplitterEvent",SwigwxSplitterEventTowxEvent);
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("_wxSplitterEvent","_class_wxSplitterEvent",0);
SWIG_RegisterMapping("_wxGridEvent","_class_wxGridEvent",0);
SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
+ SWIG_RegisterMapping("_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
+ SWIG_RegisterMapping("_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
+ SWIG_RegisterMapping("_class_wxNotifyEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
+ SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotebookEvent",SwigwxNotebookEventTowxNotifyEvent);
+ SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
+ SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
+ SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
SWIG_RegisterMapping("_EBool","_signed_int",0);
SWIG_RegisterMapping("_EBool","_int",0);
SWIG_RegisterMapping("_EBool","_wxWindowID",0);
SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
+ SWIG_RegisterMapping("_class_wxSplitterEvent","_wxSplitterEvent",0);
SWIG_RegisterMapping("_wxNotebook","_class_wxNotebook",0);
SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
SWIG_RegisterMapping("_unsigned_long","_long",0);
SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
+ SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
SWIG_RegisterMapping("_signed_int","_EBool",0);
SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
SWIG_RegisterMapping("_signed_int","_int",0);
SWIG_RegisterMapping("_wxControl","_wxNotebook",SwigwxNotebookTowxControl);
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
+ SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_unsigned_int","_size_t",0);
SWIG_RegisterMapping("_unsigned_int","_uint",0);
SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
SWIG_RegisterMapping("_unsigned_int","_int",0);
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
SWIG_RegisterMapping("_class_wxNotebook","_wxNotebook",0);
+ SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_wxWindowID","_size_t",0);
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
SWIG_RegisterMapping("_wxWindowID","_uint",0);
SWIG_RegisterMapping("_wxWindowID","_int",0);
SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
+ SWIG_RegisterMapping("_int","_wxPrintQuality",0);
+ SWIG_RegisterMapping("_int","_size_t",0);
SWIG_RegisterMapping("_int","_EBool",0);
SWIG_RegisterMapping("_int","_uint",0);
SWIG_RegisterMapping("_int","_wxWindowID",0);
SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
SWIG_RegisterMapping("_class_wxGridEvent","_wxGridEvent",0);
+ SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
+ SWIG_RegisterMapping("_class_wxCommandEvent","_wxSplitterEvent",SwigwxSplitterEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxNotebookEvent",SwigwxNotebookEventTowxCommandEvent);
SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);