result = wxSystemSettings::GetColour((wxSystemColour )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxColour * resultptr;
result = wxSystemSettings::GetFont((wxSystemFont )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxFont * resultptr;
result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
return resultobj;
result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
result = (int)wxSystemSettings::GetScreenType();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
return resultobj;
wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxBell();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxEndBusyCursor();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxGetMousePosition(arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
{
result = (bool)wxShutdown((wxShutdownFlags )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
#if wxUSE_UNICODE
result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
{
result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
{
result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromLong((long)result);
{
result = (bool)wxColourDisplay();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
result = (int)wxDisplayDepth();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
return resultobj;
result = (int)wxGetDisplayDepth();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromInt((int)result);
return resultobj;
wxDisplaySize(arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
{
result = wxGetDisplaySize();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
wxDisplaySizeMM(arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
{
result = wxGetDisplaySizeMM();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxSize * resultptr;
wxClientDisplayRect(arg1,arg2,arg3,arg4);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
{
result = wxGetClientDisplayRect();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxRect * resultptr;
wxSetCursor(*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxBeginBusyCursor(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
result = (wxWindow *)wxGetActiveWindow();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxWindow *)wxGetTopLevelParent(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (bool)wxGetKeyState((wxKeyCode )arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
wxWakeUpMainThread();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxMutexGuiEnter();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
wxMutexGuiLeave();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
return resultobj;
result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 1);
}
{
if (temp1)
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
return resultobj;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxBusyCursor *)new wxBusyCursor(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
return resultobj;
result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
return resultobj;
result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
{
result = (bool)wxShowTip(arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
{
result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
return resultobj;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (wxTimerRunner *)new wxTimerRunner(*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
return resultobj;
result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
return resultobj;
if (PyErr_Occurred()) SWIG_fail;
}
{
- resultobj = wxPyMake_wxObject(result);
+ resultobj = wxPyMake_wxObject(result, 0);
}
return resultobj;
fail:
result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_FromLong((long)result);
{
result = (wxJoystick *)new wxJoystick(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
return resultobj;
result = (wxSound *)new_wxSound((wxString const &)*arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
{
result = (wxSound *)new_wxSound(arg1);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
return resultobj;
result = (bool)((wxSound const *)arg1)->Play(arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
wxSound::Stop();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
result = (wxPyArtProvider *)new wxPyArtProvider();
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
return resultobj;
result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxBitmap * resultptr;
result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) SWIG_fail;
+ if (PyErr_Occurred()) SWIG_fail;
}
{
wxIcon * resultptr;
}
+static PyObject *_wrap_Clipboard_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject *resultobj;
+ wxClipboard *result;
+ char *kwnames[] = {
+ NULL
+ };
+
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
+ {
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ result = (wxClipboard *)wxClipboard::Get();
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) SWIG_fail;
+ }
+ resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
+ return resultobj;
+ fail:
+ return NULL;
+}
+
+
static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
-static int _wrap_TheClipboard_set(PyObject *_val) {
- PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
- return 1;
-}
-
-
-static PyObject *_wrap_TheClipboard_get() {
- PyObject *pyobj;
-
- pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
- return pyobj;
-}
-
-
static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxClipboard *arg1 = (wxClipboard *) NULL ;
{ (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
+ { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS },
{ (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
{ (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
{ (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
- SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
}