PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg2 = new wxString(PyString_AsString(_obj2));
+ _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
}
if (_argc3) {
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
return NULL;
}
}
- _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxFrame *)new_wxFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj2)
return NULL;
}
}
- wxFrame_Centre(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_Centre(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
wxStatusBar * _result;
wxFrame * _arg0;
int _arg1 = 1;
- long _arg2 = wxST_SIZEGRIP;
+ long _arg2 = (wxST_SIZEGRIP);
wxWindowID _arg3 = -1;
char * _arg4 = "statusBar";
char * _argc0 = 0;
return NULL;
}
}
- _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxStatusBar *)wxFrame_CreateStatusBar(_arg0,_arg1,_arg2,_arg3,_arg4);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxToolBar *)wxFrame_CreateToolBar(_arg0,_arg1,_arg2,_arg3);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMenuBar *)wxFrame_GetMenuBar(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxStatusBar *)wxFrame_GetStatusBar(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
return NULL;
}
}
- _result = new wxString (wxFrame_GetTitle(_arg0));
{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxString (wxFrame_GetTitle(_arg0));
+
+ wxPy_END_ALLOW_THREADS;
+}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
return NULL;
}
}
- _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxToolBar *)wxFrame_GetToolBar(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxFrame_Iconize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_Iconize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- _result = (bool )wxFrame_IsIconized(_arg0);
- _resultobj = Py_BuildValue("i",_result);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxFrame_IsIconized(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
}
_arg1 = (bool ) tempbool1;
- wxFrame_Maximize(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_Maximize(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFrame_SetAcceleratorTable(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetAcceleratorTable(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFrame_SetIcon(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetIcon(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFrame_SetMenuBar(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetMenuBar(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
return NULL;
}
}
- wxFrame_SetStatusBar(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetStatusBar(_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));
}
- wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetStatusText(_arg0,*_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
}
}
{
- _arg1 = PyList_Size(_obj2);
+ if (_obj2) {
+ _arg1 = PyList_Size(_obj2);
+ }
+ else {
+ _arg1 = 0;
+ }
}
- wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetStatusWidths(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
delete [] _arg2;
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
- _arg1 = new wxString(PyString_AsString(_obj1));
+ _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
- wxFrame_SetTitle(_arg0,*_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetTitle(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
return NULL;
}
}
- wxFrame_SetToolBar(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_SetToolBar(_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));
}
if (_argc3) {
if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
return NULL;
}
}
- _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxMiniFrame *)new_wxMiniFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
+
+ wxPy_END_ALLOW_THREADS;
+} SWIG_MakePtr(_ptemp, (char *) _result,"_wxMiniFrame_p");
_resultobj = Py_BuildValue("s",_ptemp);
{
if (_obj2)
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
+ SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
SWIG_RegisterMapping("_long","_wxDash",0);
SWIG_RegisterMapping("_long","_unsigned_long",0);
SWIG_RegisterMapping("_long","_signed_long",0);
+ SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
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("_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("_class_wxMenuItem","_wxMenuItem",0);
SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",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("_class_wxKeyEvent","_wxKeyEvent",0);
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",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("_wxSpinButton","_class_wxSpinButton",0);
SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
+ SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
SWIG_RegisterMapping("_class_wxListBox","_wxListBox",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("_wxJoystickEvent","_class_wxJoystickEvent",0);
SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
+ SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
SWIG_RegisterMapping("_wxFrame","_class_wxMiniFrame",SwigwxMiniFrameTowxFrame);
SWIG_RegisterMapping("_wxFrame","_wxMiniFrame",SwigwxMiniFrameTowxFrame);
SWIG_RegisterMapping("_wxFrame","_class_wxFrame",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","_size_t",0);
SWIG_RegisterMapping("_int","_EBool",0);
SWIG_RegisterMapping("_int","_uint",0);
SWIG_RegisterMapping("_int","_wxWindowID",0);