reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a7c987f91e
commit
da9714b5c8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -61,6 +61,7 @@ import _core
|
||||
import _misc
|
||||
wx = _core
|
||||
__docfilter__ = wx.__DocFilter(globals())
|
||||
USE_STC = _stc.USE_STC
|
||||
STC_USE_DND = _stc.STC_USE_DND
|
||||
STC_USE_POPUP = _stc.STC_USE_POPUP
|
||||
STC_INVALID_POSITION = _stc.STC_INVALID_POSITION
|
||||
@ -4997,7 +4998,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetVScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetVScrollBar(self, wxScrollBar bar)
|
||||
SetVScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the vertical scrollbar to use instead of the one that's built-in.
|
||||
"""
|
||||
@ -5005,7 +5006,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetHScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetHScrollBar(self, wxScrollBar bar)
|
||||
SetHScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the horizontal scrollbar to use instead of the ont that's built-in.
|
||||
"""
|
||||
|
@ -2677,7 +2677,6 @@ namespace swig {
|
||||
#include "wx/wxPython/pyclasses.h"
|
||||
#include <wx/stc/stc.h>
|
||||
|
||||
|
||||
static const wxString wxPySTCNameStr(wxSTCNameStr);
|
||||
|
||||
#define SWIG_From_long PyInt_FromLong
|
||||
@ -23181,6 +23180,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
|
||||
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
|
||||
SWIG_Python_SetConstant(d, "USE_STC",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
|
||||
|
@ -61,6 +61,7 @@ import _core
|
||||
import _misc
|
||||
wx = _core
|
||||
__docfilter__ = wx.__DocFilter(globals())
|
||||
USE_STC = _stc.USE_STC
|
||||
STC_USE_DND = _stc.STC_USE_DND
|
||||
STC_USE_POPUP = _stc.STC_USE_POPUP
|
||||
STC_INVALID_POSITION = _stc.STC_INVALID_POSITION
|
||||
@ -4997,7 +4998,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetVScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetVScrollBar(self, wxScrollBar bar)
|
||||
SetVScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the vertical scrollbar to use instead of the one that's built-in.
|
||||
"""
|
||||
@ -5005,7 +5006,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetHScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetHScrollBar(self, wxScrollBar bar)
|
||||
SetHScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the horizontal scrollbar to use instead of the ont that's built-in.
|
||||
"""
|
||||
|
@ -2677,7 +2677,6 @@ namespace swig {
|
||||
#include "wx/wxPython/pyclasses.h"
|
||||
#include <wx/stc/stc.h>
|
||||
|
||||
|
||||
static const wxString wxPySTCNameStr(wxSTCNameStr);
|
||||
|
||||
#define SWIG_From_long PyInt_FromLong
|
||||
@ -23181,6 +23180,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
|
||||
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
|
||||
SWIG_Python_SetConstant(d, "USE_STC",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
|
||||
|
@ -61,6 +61,7 @@ import _core
|
||||
import _misc
|
||||
wx = _core
|
||||
__docfilter__ = wx.__DocFilter(globals())
|
||||
USE_STC = _stc.USE_STC
|
||||
STC_USE_DND = _stc.STC_USE_DND
|
||||
STC_USE_POPUP = _stc.STC_USE_POPUP
|
||||
STC_INVALID_POSITION = _stc.STC_INVALID_POSITION
|
||||
@ -4997,7 +4998,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetVScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetVScrollBar(self, wxScrollBar bar)
|
||||
SetVScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the vertical scrollbar to use instead of the one that's built-in.
|
||||
"""
|
||||
@ -5005,7 +5006,7 @@ class StyledTextCtrl(_core.Control):
|
||||
|
||||
def SetHScrollBar(*args, **kwargs):
|
||||
"""
|
||||
SetHScrollBar(self, wxScrollBar bar)
|
||||
SetHScrollBar(self, ScrollBar bar)
|
||||
|
||||
Set the horizontal scrollbar to use instead of the ont that's built-in.
|
||||
"""
|
||||
|
@ -2677,7 +2677,6 @@ namespace swig {
|
||||
#include "wx/wxPython/pyclasses.h"
|
||||
#include <wx/stc/stc.h>
|
||||
|
||||
|
||||
static const wxString wxPySTCNameStr(wxSTCNameStr);
|
||||
|
||||
#define SWIG_From_long PyInt_FromLong
|
||||
@ -23181,6 +23180,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
|
||||
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"STCNameStr",STCNameStr_get, STCNameStr_set);
|
||||
SWIG_Python_SetConstant(d, "USE_STC",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_DND",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_USE_POPUP",SWIG_From_int(static_cast< int >(1)));
|
||||
SWIG_Python_SetConstant(d, "STC_INVALID_POSITION",SWIG_From_int(static_cast< int >(-1)));
|
||||
|
@ -707,7 +707,7 @@ class DemoCodePanel(wx.Panel):
|
||||
os.makedirs(GetModifiedDirectory())
|
||||
if not os.path.exists(GetModifiedDirectory()):
|
||||
wx.LogMessage("BUG: Created demo directory but it still doesn't exist")
|
||||
raise AssetionError
|
||||
raise AssertionError
|
||||
except:
|
||||
wx.LogMessage("Error creating demo directory: %s" % GetModifiedDirectory())
|
||||
return
|
||||
|
@ -3560,6 +3560,7 @@ def InitAllImageHandlers():
|
||||
"""
|
||||
pass
|
||||
|
||||
IMAGE_RESOLUTION_NONE = _core_.IMAGE_RESOLUTION_NONE
|
||||
IMAGE_RESOLUTION_INCHES = _core_.IMAGE_RESOLUTION_INCHES
|
||||
IMAGE_RESOLUTION_CM = _core_.IMAGE_RESOLUTION_CM
|
||||
PNG_TYPE_COLOUR = _core_.PNG_TYPE_COLOUR
|
||||
@ -7775,7 +7776,7 @@ class App(wx.PyApp):
|
||||
|
||||
:param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
|
||||
redirected? Defaults to True on Windows and Mac, False
|
||||
otherwise. If `filename` is None then output will be
|
||||
otherwise. If ``filename`` is None then output will be
|
||||
redirected to a window that pops up as needed. (You can
|
||||
control what kind of window is created for the output by
|
||||
resetting the class variable ``outputWindowClass`` to a
|
||||
@ -9077,6 +9078,14 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_GetExtraStyle(*args, **kwargs)
|
||||
|
||||
def HasExtraStyle(*args, **kwargs):
|
||||
"""
|
||||
HasExtraStyle(self, int exFlag) -> bool
|
||||
|
||||
Returns ``True`` if the given extra flag is set.
|
||||
"""
|
||||
return _core_.Window_HasExtraStyle(*args, **kwargs)
|
||||
|
||||
def MakeModal(*args, **kwargs):
|
||||
"""
|
||||
MakeModal(self, bool modal=True)
|
||||
@ -12958,6 +12967,10 @@ class BoxSizer(Sizer):
|
||||
"""
|
||||
return _core_.BoxSizer_SetOrientation(*args, **kwargs)
|
||||
|
||||
def IsVertical(*args, **kwargs):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _core_.BoxSizer_IsVertical(*args, **kwargs)
|
||||
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
_core_.BoxSizer_swigregister(BoxSizer)
|
||||
|
||||
|
@ -36623,6 +36623,47 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_HasExtraStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
int arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "exFlag", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasExtraStyle",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_HasExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_HasExtraStyle" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->HasExtraStyle(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_MakeModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@ -53243,6 +53284,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_BoxSizer_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBoxSizer, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoxSizer_IsVertical" "', expected argument " "1"" of type '" "wxBoxSizer const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxBoxSizer * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxBoxSizer const *)arg1)->IsVertical();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *BoxSizer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@ -59378,6 +59449,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_ToggleWindowStyle", (PyCFunction) _wrap_Window_ToggleWindowStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetExtraStyle", (PyCFunction)_wrap_Window_GetExtraStyle, METH_O, NULL},
|
||||
{ (char *)"Window_HasExtraStyle", (PyCFunction) _wrap_Window_HasExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetThemeEnabled", (PyCFunction)_wrap_Window_GetThemeEnabled, METH_O, NULL},
|
||||
@ -59818,6 +59890,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_GetOrientation", (PyCFunction)_wrap_BoxSizer_GetOrientation, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_IsVertical", (PyCFunction)_wrap_BoxSizer_IsVertical, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"BoxSizer_swiginit", BoxSizer_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -62250,6 +62323,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get, IMAGE_OPTION_RESOLUTIONY_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get, IMAGE_OPTION_RESOLUTIONUNIT_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get, IMAGE_OPTION_QUALITY_set);
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_NONE",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_NONE)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM)));
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get, IMAGE_OPTION_BITSPERSAMPLE_set);
|
||||
|
@ -671,6 +671,10 @@ class Dialog(TopLevelWindow):
|
||||
"""GetEscapeId(self) -> int"""
|
||||
return _windows_.Dialog_GetEscapeId(*args, **kwargs)
|
||||
|
||||
def GetParentForModalDialog(*args, **kwargs):
|
||||
"""GetParentForModalDialog(self, Window parent=None) -> Window"""
|
||||
return _windows_.Dialog_GetParentForModalDialog(*args, **kwargs)
|
||||
|
||||
def CreateTextSizer(*args, **kwargs):
|
||||
"""CreateTextSizer(self, String message) -> Sizer"""
|
||||
return _windows_.Dialog_CreateTextSizer(*args, **kwargs)
|
||||
|
@ -7783,6 +7783,49 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) NULL ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "parent", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDialog * >(argp1);
|
||||
if (obj1) {
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
@ -33935,6 +33978,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
File diff suppressed because one or more lines are too long
@ -3560,6 +3560,7 @@ def InitAllImageHandlers():
|
||||
"""
|
||||
pass
|
||||
|
||||
IMAGE_RESOLUTION_NONE = _core_.IMAGE_RESOLUTION_NONE
|
||||
IMAGE_RESOLUTION_INCHES = _core_.IMAGE_RESOLUTION_INCHES
|
||||
IMAGE_RESOLUTION_CM = _core_.IMAGE_RESOLUTION_CM
|
||||
PNG_TYPE_COLOUR = _core_.PNG_TYPE_COLOUR
|
||||
@ -7775,7 +7776,7 @@ class App(wx.PyApp):
|
||||
|
||||
:param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
|
||||
redirected? Defaults to True on Windows and Mac, False
|
||||
otherwise. If `filename` is None then output will be
|
||||
otherwise. If ``filename`` is None then output will be
|
||||
redirected to a window that pops up as needed. (You can
|
||||
control what kind of window is created for the output by
|
||||
resetting the class variable ``outputWindowClass`` to a
|
||||
@ -9077,6 +9078,14 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_GetExtraStyle(*args, **kwargs)
|
||||
|
||||
def HasExtraStyle(*args, **kwargs):
|
||||
"""
|
||||
HasExtraStyle(self, int exFlag) -> bool
|
||||
|
||||
Returns ``True`` if the given extra flag is set.
|
||||
"""
|
||||
return _core_.Window_HasExtraStyle(*args, **kwargs)
|
||||
|
||||
def MakeModal(*args, **kwargs):
|
||||
"""
|
||||
MakeModal(self, bool modal=True)
|
||||
@ -12958,6 +12967,10 @@ class BoxSizer(Sizer):
|
||||
"""
|
||||
return _core_.BoxSizer_SetOrientation(*args, **kwargs)
|
||||
|
||||
def IsVertical(*args, **kwargs):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _core_.BoxSizer_IsVertical(*args, **kwargs)
|
||||
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
_core_.BoxSizer_swigregister(BoxSizer)
|
||||
|
||||
|
@ -36622,6 +36622,47 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_HasExtraStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
int arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "exFlag", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasExtraStyle",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_HasExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_HasExtraStyle" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->HasExtraStyle(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_MakeModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@ -53242,6 +53283,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_BoxSizer_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBoxSizer, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoxSizer_IsVertical" "', expected argument " "1"" of type '" "wxBoxSizer const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxBoxSizer * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxBoxSizer const *)arg1)->IsVertical();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *BoxSizer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@ -59377,6 +59448,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_ToggleWindowStyle", (PyCFunction) _wrap_Window_ToggleWindowStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetExtraStyle", (PyCFunction)_wrap_Window_GetExtraStyle, METH_O, NULL},
|
||||
{ (char *)"Window_HasExtraStyle", (PyCFunction) _wrap_Window_HasExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetThemeEnabled", (PyCFunction)_wrap_Window_GetThemeEnabled, METH_O, NULL},
|
||||
@ -59817,6 +59889,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_GetOrientation", (PyCFunction)_wrap_BoxSizer_GetOrientation, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_IsVertical", (PyCFunction)_wrap_BoxSizer_IsVertical, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"BoxSizer_swiginit", BoxSizer_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -62249,6 +62322,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get, IMAGE_OPTION_RESOLUTIONY_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get, IMAGE_OPTION_RESOLUTIONUNIT_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get, IMAGE_OPTION_QUALITY_set);
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_NONE",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_NONE)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM)));
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get, IMAGE_OPTION_BITSPERSAMPLE_set);
|
||||
|
@ -679,6 +679,10 @@ class Dialog(TopLevelWindow):
|
||||
"""GetEscapeId(self) -> int"""
|
||||
return _windows_.Dialog_GetEscapeId(*args, **kwargs)
|
||||
|
||||
def GetParentForModalDialog(*args, **kwargs):
|
||||
"""GetParentForModalDialog(self, Window parent=None) -> Window"""
|
||||
return _windows_.Dialog_GetParentForModalDialog(*args, **kwargs)
|
||||
|
||||
def CreateTextSizer(*args, **kwargs):
|
||||
"""CreateTextSizer(self, String message) -> Sizer"""
|
||||
return _windows_.Dialog_CreateTextSizer(*args, **kwargs)
|
||||
|
@ -7848,6 +7848,49 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) NULL ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "parent", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDialog * >(argp1);
|
||||
if (obj1) {
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
@ -33801,6 +33844,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
File diff suppressed because one or more lines are too long
@ -3560,6 +3560,7 @@ def InitAllImageHandlers():
|
||||
"""
|
||||
pass
|
||||
|
||||
IMAGE_RESOLUTION_NONE = _core_.IMAGE_RESOLUTION_NONE
|
||||
IMAGE_RESOLUTION_INCHES = _core_.IMAGE_RESOLUTION_INCHES
|
||||
IMAGE_RESOLUTION_CM = _core_.IMAGE_RESOLUTION_CM
|
||||
PNG_TYPE_COLOUR = _core_.PNG_TYPE_COLOUR
|
||||
@ -7775,7 +7776,7 @@ class App(wx.PyApp):
|
||||
|
||||
:param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
|
||||
redirected? Defaults to True on Windows and Mac, False
|
||||
otherwise. If `filename` is None then output will be
|
||||
otherwise. If ``filename`` is None then output will be
|
||||
redirected to a window that pops up as needed. (You can
|
||||
control what kind of window is created for the output by
|
||||
resetting the class variable ``outputWindowClass`` to a
|
||||
@ -9077,6 +9078,14 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_GetExtraStyle(*args, **kwargs)
|
||||
|
||||
def HasExtraStyle(*args, **kwargs):
|
||||
"""
|
||||
HasExtraStyle(self, int exFlag) -> bool
|
||||
|
||||
Returns ``True`` if the given extra flag is set.
|
||||
"""
|
||||
return _core_.Window_HasExtraStyle(*args, **kwargs)
|
||||
|
||||
def MakeModal(*args, **kwargs):
|
||||
"""
|
||||
MakeModal(self, bool modal=True)
|
||||
@ -12962,6 +12971,10 @@ class BoxSizer(Sizer):
|
||||
"""
|
||||
return _core_.BoxSizer_SetOrientation(*args, **kwargs)
|
||||
|
||||
def IsVertical(*args, **kwargs):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _core_.BoxSizer_IsVertical(*args, **kwargs)
|
||||
|
||||
Orientation = property(GetOrientation,SetOrientation,doc="See `GetOrientation` and `SetOrientation`")
|
||||
_core_.BoxSizer_swigregister(BoxSizer)
|
||||
|
||||
|
@ -36607,6 +36607,47 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_HasExtraStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
int arg2 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
int val2 ;
|
||||
int ecode2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "exFlag", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasExtraStyle",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_HasExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxWindow * >(argp1);
|
||||
ecode2 = SWIG_AsVal_int(obj1, &val2);
|
||||
if (!SWIG_IsOK(ecode2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_HasExtraStyle" "', expected argument " "2"" of type '" "int""'");
|
||||
}
|
||||
arg2 = static_cast< int >(val2);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxWindow const *)arg1)->HasExtraStyle(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Window_MakeModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@ -53268,6 +53309,36 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_BoxSizer_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *resultobj = 0;
|
||||
wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
|
||||
bool result;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
PyObject *swig_obj[1] ;
|
||||
|
||||
if (!args) SWIG_fail;
|
||||
swig_obj[0] = args;
|
||||
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBoxSizer, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BoxSizer_IsVertical" "', expected argument " "1"" of type '" "wxBoxSizer const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxBoxSizer * >(argp1);
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)((wxBoxSizer const *)arg1)->IsVertical();
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *BoxSizer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
|
||||
@ -59403,6 +59474,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_ToggleWindowStyle", (PyCFunction) _wrap_Window_ToggleWindowStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetExtraStyle", (PyCFunction)_wrap_Window_GetExtraStyle, METH_O, NULL},
|
||||
{ (char *)"Window_HasExtraStyle", (PyCFunction) _wrap_Window_HasExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Window_GetThemeEnabled", (PyCFunction)_wrap_Window_GetThemeEnabled, METH_O, NULL},
|
||||
@ -59844,6 +59916,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_GetOrientation", (PyCFunction)_wrap_BoxSizer_GetOrientation, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"BoxSizer_IsVertical", (PyCFunction)_wrap_BoxSizer_IsVertical, METH_O, NULL},
|
||||
{ (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"BoxSizer_swiginit", BoxSizer_swiginit, METH_VARARGS, NULL},
|
||||
{ (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
@ -62276,6 +62349,7 @@ SWIGEXPORT void SWIG_init(void) {
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get, IMAGE_OPTION_RESOLUTIONY_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get, IMAGE_OPTION_RESOLUTIONUNIT_set);
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get, IMAGE_OPTION_QUALITY_set);
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_NONE",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_NONE)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES)));
|
||||
SWIG_Python_SetConstant(d, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM)));
|
||||
SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get, IMAGE_OPTION_BITSPERSAMPLE_set);
|
||||
|
@ -679,6 +679,10 @@ class Dialog(TopLevelWindow):
|
||||
"""GetEscapeId(self) -> int"""
|
||||
return _windows_.Dialog_GetEscapeId(*args, **kwargs)
|
||||
|
||||
def GetParentForModalDialog(*args, **kwargs):
|
||||
"""GetParentForModalDialog(self, Window parent=None) -> Window"""
|
||||
return _windows_.Dialog_GetParentForModalDialog(*args, **kwargs)
|
||||
|
||||
def CreateTextSizer(*args, **kwargs):
|
||||
"""CreateTextSizer(self, String message) -> Sizer"""
|
||||
return _windows_.Dialog_CreateTextSizer(*args, **kwargs)
|
||||
|
@ -7847,6 +7847,49 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) NULL ;
|
||||
wxWindow *result = 0 ;
|
||||
void *argp1 = 0 ;
|
||||
int res1 = 0 ;
|
||||
void *argp2 = 0 ;
|
||||
int res2 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char * kwnames[] = {
|
||||
(char *) "self",(char *) "parent", NULL
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
|
||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
|
||||
if (!SWIG_IsOK(res1)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
|
||||
}
|
||||
arg1 = reinterpret_cast< wxDialog * >(argp1);
|
||||
if (obj1) {
|
||||
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
|
||||
if (!SWIG_IsOK(res2)) {
|
||||
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
|
||||
}
|
||||
arg2 = reinterpret_cast< wxWindow * >(argp2);
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = wxPyMake_wxObject(result, 0);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj = 0;
|
||||
wxDialog *arg1 = (wxDialog *) 0 ;
|
||||
@ -34069,6 +34112,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
|
||||
{ (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
{ (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user