From 24d7cbea55822f3dad866f8baf415dab999f45c6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 26 Feb 2005 03:32:46 +0000 Subject: [PATCH] reSWIGged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/gtk/_core.py | 1 + wxPython/src/gtk/_core_wrap.cpp | 22 ++++++++++++++++++++++ wxPython/src/gtk/_windows.py | 1 + wxPython/src/gtk/_windows_wrap.cpp | 3 +++ wxPython/src/mac/_core.py | 1 + wxPython/src/mac/_core_wrap.cpp | 22 ++++++++++++++++++++++ wxPython/src/mac/_windows.py | 1 + wxPython/src/mac/_windows_wrap.cpp | 3 +++ wxPython/src/msw/_core.py | 1 + wxPython/src/msw/_core_wrap.cpp | 22 ++++++++++++++++++++++ wxPython/src/msw/_windows.py | 1 + wxPython/src/msw/_windows_wrap.cpp | 3 +++ wxPython/wxPython/_core.py | 1 + wxPython/wxPython/_windows.py | 1 + 14 files changed, 83 insertions(+) diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index 3134a745c0..45d769786f 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -2558,6 +2558,7 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONX = cvar.IMAGE_OPTION_RESOLUTIONX IMAGE_OPTION_RESOLUTIONY = cvar.IMAGE_OPTION_RESOLUTIONY IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT +IMAGE_OPTION_QUALITY = cvar.IMAGE_OPTION_QUALITY IMAGE_OPTION_BITSPERSAMPLE = cvar.IMAGE_OPTION_BITSPERSAMPLE IMAGE_OPTION_SAMPLESPERPIXEL = cvar.IMAGE_OPTION_SAMPLESPERPIXEL IMAGE_OPTION_COMPRESSION = cvar.IMAGE_OPTION_COMPRESSION diff --git a/wxPython/src/gtk/_core_wrap.cpp b/wxPython/src/gtk/_core_wrap.cpp index 4b3a7769b2..ceb3d56e14 100644 --- a/wxPython/src/gtk/_core_wrap.cpp +++ b/wxPython/src/gtk/_core_wrap.cpp @@ -2471,6 +2471,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsi static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX); static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY); static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT); + static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY); static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE); static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL); static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION); @@ -13558,6 +13559,26 @@ static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { } +static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only."); + return 1; +} + + +static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#endif + } + return pyobj; +} + + static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only."); return 1; @@ -48914,6 +48935,7 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); + SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); } diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index bad585f88d..1aa383161d 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -3320,6 +3320,7 @@ IDM_WINDOWCASCADE = _windows_.IDM_WINDOWCASCADE IDM_WINDOWICONS = _windows_.IDM_WINDOWICONS IDM_WINDOWNEXT = _windows_.IDM_WINDOWNEXT IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT +IDM_WINDOWPREV = _windows_.IDM_WINDOWPREV FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD class MDIParentFrame(Frame): diff --git a/wxPython/src/gtk/_windows_wrap.cpp b/wxPython/src/gtk/_windows_wrap.cpp index 1b049f5563..8cc77f5f19 100644 --- a/wxPython/src/gtk/_windows_wrap.cpp +++ b/wxPython/src/gtk/_windows_wrap.cpp @@ -30213,6 +30213,9 @@ SWIGEXPORT(void) SWIG_init(void) { { PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); } + { + PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); + } { PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); } diff --git a/wxPython/src/mac/_core.py b/wxPython/src/mac/_core.py index 3134a745c0..45d769786f 100644 --- a/wxPython/src/mac/_core.py +++ b/wxPython/src/mac/_core.py @@ -2558,6 +2558,7 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONX = cvar.IMAGE_OPTION_RESOLUTIONX IMAGE_OPTION_RESOLUTIONY = cvar.IMAGE_OPTION_RESOLUTIONY IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT +IMAGE_OPTION_QUALITY = cvar.IMAGE_OPTION_QUALITY IMAGE_OPTION_BITSPERSAMPLE = cvar.IMAGE_OPTION_BITSPERSAMPLE IMAGE_OPTION_SAMPLESPERPIXEL = cvar.IMAGE_OPTION_SAMPLESPERPIXEL IMAGE_OPTION_COMPRESSION = cvar.IMAGE_OPTION_COMPRESSION diff --git a/wxPython/src/mac/_core_wrap.cpp b/wxPython/src/mac/_core_wrap.cpp index 4b3a7769b2..ceb3d56e14 100644 --- a/wxPython/src/mac/_core_wrap.cpp +++ b/wxPython/src/mac/_core_wrap.cpp @@ -2471,6 +2471,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsi static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX); static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY); static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT); + static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY); static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE); static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL); static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION); @@ -13558,6 +13559,26 @@ static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { } +static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only."); + return 1; +} + + +static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#endif + } + return pyobj; +} + + static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only."); return 1; @@ -48914,6 +48935,7 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); + SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); } diff --git a/wxPython/src/mac/_windows.py b/wxPython/src/mac/_windows.py index 2af126c59d..0afc4d39f6 100644 --- a/wxPython/src/mac/_windows.py +++ b/wxPython/src/mac/_windows.py @@ -3297,6 +3297,7 @@ IDM_WINDOWCASCADE = _windows_.IDM_WINDOWCASCADE IDM_WINDOWICONS = _windows_.IDM_WINDOWICONS IDM_WINDOWNEXT = _windows_.IDM_WINDOWNEXT IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT +IDM_WINDOWPREV = _windows_.IDM_WINDOWPREV FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD class MDIParentFrame(Frame): diff --git a/wxPython/src/mac/_windows_wrap.cpp b/wxPython/src/mac/_windows_wrap.cpp index 42a4062d7c..8dd6cb9cee 100644 --- a/wxPython/src/mac/_windows_wrap.cpp +++ b/wxPython/src/mac/_windows_wrap.cpp @@ -30095,6 +30095,9 @@ SWIGEXPORT(void) SWIG_init(void) { { PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); } + { + PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); + } { PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); } diff --git a/wxPython/src/msw/_core.py b/wxPython/src/msw/_core.py index 38eb65943b..a5686a40a2 100644 --- a/wxPython/src/msw/_core.py +++ b/wxPython/src/msw/_core.py @@ -2558,6 +2558,7 @@ IMAGE_OPTION_RESOLUTION = cvar.IMAGE_OPTION_RESOLUTION IMAGE_OPTION_RESOLUTIONX = cvar.IMAGE_OPTION_RESOLUTIONX IMAGE_OPTION_RESOLUTIONY = cvar.IMAGE_OPTION_RESOLUTIONY IMAGE_OPTION_RESOLUTIONUNIT = cvar.IMAGE_OPTION_RESOLUTIONUNIT +IMAGE_OPTION_QUALITY = cvar.IMAGE_OPTION_QUALITY IMAGE_OPTION_BITSPERSAMPLE = cvar.IMAGE_OPTION_BITSPERSAMPLE IMAGE_OPTION_SAMPLESPERPIXEL = cvar.IMAGE_OPTION_SAMPLESPERPIXEL IMAGE_OPTION_COMPRESSION = cvar.IMAGE_OPTION_COMPRESSION diff --git a/wxPython/src/msw/_core_wrap.cpp b/wxPython/src/msw/_core_wrap.cpp index 8f0acff84b..e5fba53a90 100644 --- a/wxPython/src/msw/_core_wrap.cpp +++ b/wxPython/src/msw/_core_wrap.cpp @@ -2471,6 +2471,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsi static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX); static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY); static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT); + static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY); static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE); static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL); static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION); @@ -13542,6 +13543,26 @@ static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { } +static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only."); + return 1; +} + + +static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { + PyObject *pyobj; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len()); +#endif + } + return pyobj; +} + + static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only."); return 1; @@ -48966,6 +48987,7 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); + SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); } diff --git a/wxPython/src/msw/_windows.py b/wxPython/src/msw/_windows.py index b06c0adcf1..26c1bfb6d5 100644 --- a/wxPython/src/msw/_windows.py +++ b/wxPython/src/msw/_windows.py @@ -3325,6 +3325,7 @@ IDM_WINDOWCASCADE = _windows_.IDM_WINDOWCASCADE IDM_WINDOWICONS = _windows_.IDM_WINDOWICONS IDM_WINDOWNEXT = _windows_.IDM_WINDOWNEXT IDM_WINDOWTILEVERT = _windows_.IDM_WINDOWTILEVERT +IDM_WINDOWPREV = _windows_.IDM_WINDOWPREV FIRST_MDI_CHILD = _windows_.FIRST_MDI_CHILD LAST_MDI_CHILD = _windows_.LAST_MDI_CHILD class MDIParentFrame(Frame): diff --git a/wxPython/src/msw/_windows_wrap.cpp b/wxPython/src/msw/_windows_wrap.cpp index 7f476551f3..1f348be05f 100644 --- a/wxPython/src/msw/_windows_wrap.cpp +++ b/wxPython/src/msw/_windows_wrap.cpp @@ -30366,6 +30366,9 @@ SWIGEXPORT(void) SWIG_init(void) { { PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); } + { + PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); + } { PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); } diff --git a/wxPython/wxPython/_core.py b/wxPython/wxPython/_core.py index 4a9841ff5a..73af7caab3 100644 --- a/wxPython/wxPython/_core.py +++ b/wxPython/wxPython/_core.py @@ -687,6 +687,7 @@ wxIMAGE_OPTION_RESOLUTION = wx._core.IMAGE_OPTION_RESOLUTION wxIMAGE_OPTION_RESOLUTIONX = wx._core.IMAGE_OPTION_RESOLUTIONX wxIMAGE_OPTION_RESOLUTIONY = wx._core.IMAGE_OPTION_RESOLUTIONY wxIMAGE_OPTION_RESOLUTIONUNIT = wx._core.IMAGE_OPTION_RESOLUTIONUNIT +wxIMAGE_OPTION_QUALITY = wx._core.IMAGE_OPTION_QUALITY wxIMAGE_RESOLUTION_INCHES = wx._core.IMAGE_RESOLUTION_INCHES wxIMAGE_RESOLUTION_CM = wx._core.IMAGE_RESOLUTION_CM wxIMAGE_OPTION_BITSPERSAMPLE = wx._core.IMAGE_OPTION_BITSPERSAMPLE diff --git a/wxPython/wxPython/_windows.py b/wxPython/wxPython/_windows.py index 03cd36c873..405bf21491 100644 --- a/wxPython/wxPython/_windows.py +++ b/wxPython/wxPython/_windows.py @@ -257,6 +257,7 @@ IDM_WINDOWCASCADE = wx._windows.IDM_WINDOWCASCADE IDM_WINDOWICONS = wx._windows.IDM_WINDOWICONS IDM_WINDOWNEXT = wx._windows.IDM_WINDOWNEXT IDM_WINDOWTILEVERT = wx._windows.IDM_WINDOWTILEVERT +IDM_WINDOWPREV = wx._windows.IDM_WINDOWPREV wxFIRST_MDI_CHILD = wx._windows.FIRST_MDI_CHILD wxLAST_MDI_CHILD = wx._windows.LAST_MDI_CHILD wxMDIParentFrame = wx._windows.MDIParentFrame -- 2.45.2