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;
}
return NULL;
}
}
- wxFrame_Command(_arg0,_arg1);
- Py_INCREF(Py_None);
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxFrame_Command(_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("_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("_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);