#if PYTHON_API_VERSION >= 1009
static char* wxStringErrorMsg = "String or Unicode type required";
#else
- static char* wxStringErrorMsg = "string type is required for parameter";
+ static char* wxStringErrorMsg = "String type required";
#endif
#ifdef __cplusplus
extern "C" {
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxHelpEvent *)new_wxHelpEvent(_arg0,_arg1,*_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpEvent_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
const wxPoint & _result_ref = wxHelpEvent_GetPosition(_arg0);
_result = (wxPoint *) &_result_ref;
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpEvent_SetPosition(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
const wxString & _result_ref = wxHelpEvent_GetLink(_arg0);
_result = (wxString *) &_result_ref;
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
#endif
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpEvent_SetLink(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
const wxString & _result_ref = wxHelpEvent_GetTarget(_arg0);
_result = (wxString *) &_result_ref;
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
#endif
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpEvent_SetTarget(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxContextMenuEvent *)new_wxContextMenuEvent(_arg0,_arg1,*_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxContextMenuEvent_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
const wxPoint & _result_ref = wxContextMenuEvent_GetPosition(_arg0);
_result = (wxPoint *) &_result_ref;
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxContextMenuEvent_SetPosition(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
_arg1 = (bool ) tempbool1;
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxContextHelp *)new_wxContextHelp(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxContextHelp_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
delete_wxContextHelp(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxContextHelp_BeginContextHelp(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxContextHelp_EndContextHelp(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxContextHelpButton *)new_wxContextHelpButton(_arg0,_arg1,*_arg2,*_arg3,_arg4);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxContextHelpButton_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxHelpProvider *)wxHelpProvider::Set(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpProvider_p");
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxHelpProvider_Get",_kwnames))
return NULL;
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxHelpProvider *)wxHelpProvider::Get();
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxHelpProvider_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = new wxString (wxHelpProvider_GetHelp(_arg0,_arg1));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxHelpProvider_ShowHelp(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
#endif
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpProvider_AddHelp(_arg0,_arg1,*_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
#endif
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpProvider_AddHelpById(_arg0,_arg1,*_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
wxHelpProvider_Destroy(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxSimpleHelpProvider",_kwnames))
return NULL;
{
- wxPy_BEGIN_ALLOW_THREADS;
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (wxSimpleHelpProvider *)new_wxSimpleHelpProvider();
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxSimpleHelpProvider_p");
{ "_wxCommandEvent","_wxHelpEvent",SwigwxHelpEventTowxCommandEvent},
{ "_char","_wxChar",0},
{ "_wxHelpProvider","_wxSimpleHelpProvider",SwigwxSimpleHelpProviderTowxHelpProvider},
+ { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
{ "_EBool","_wxCoord",0},
{ "_EBool","_wxPrintQuality",0},
{ "_EBool","_signed_int",0},
{ "_EBool","_int",0},
{ "_EBool","_wxWindowID",0},
{ "_unsigned_long","_long",0},
+ { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
{ "_signed_int","_wxCoord",0},
{ "_signed_int","_wxPrintQuality",0},
{ "_signed_int","_EBool",0},