reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1353,12 +1353,11 @@ static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -2439,12 +2438,11 @@ static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -2891,12 +2889,11 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -3779,12 +3776,11 @@ static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -4307,12 +4303,11 @@ static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -4633,12 +4628,11 @@ static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObj
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -4907,12 +4901,11 @@ static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -5169,12 +5162,11 @@ static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -5515,12 +5507,11 @@ static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, Py
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -6523,12 +6514,11 @@ static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -9918,12 +9908,11 @@ static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -10525,12 +10514,11 @@ static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObj
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -11015,12 +11003,11 @@ static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyOb
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -11527,12 +11514,11 @@ static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -12467,12 +12453,11 @@ static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -12810,12 +12795,11 @@ static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyO
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -13702,12 +13686,11 @@ static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -14106,12 +14089,11 @@ static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, Py
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -14832,12 +14814,11 @@ static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -15426,12 +15407,11 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -18710,12 +18690,11 @@ static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -23695,12 +23674,11 @@ static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -27998,12 +27976,11 @@ static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObje
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
|
@@ -5838,6 +5838,26 @@ class Window(EvtHandler):
|
||||
"""
|
||||
return _core_.Window_GetBestSizeTuple(*args, **kwargs)
|
||||
|
||||
def InvalidateBestSize(*args, **kwargs):
|
||||
"""
|
||||
InvalidateBestSize(self)
|
||||
|
||||
Reset the cached best size value so it will be recalculated the next
|
||||
time it is needed.
|
||||
"""
|
||||
return _core_.Window_InvalidateBestSize(*args, **kwargs)
|
||||
|
||||
def GetBestFittingSize(*args, **kwargs):
|
||||
"""
|
||||
GetBestFittingSize(self) -> Size
|
||||
|
||||
This function will merge the window's best size into the window's
|
||||
minimum size, giving priority to the min size components, and returns
|
||||
the results.
|
||||
|
||||
"""
|
||||
return _core_.Window_GetBestFittingSize(*args, **kwargs)
|
||||
|
||||
def GetAdjustedBestSize(*args, **kwargs):
|
||||
"""
|
||||
GetAdjustedBestSize(self) -> Size
|
||||
@@ -8250,27 +8270,21 @@ class Control(Window):
|
||||
"""
|
||||
return _core_.Control_SetLabel(*args, **kwargs)
|
||||
|
||||
def GetAdjustMinSizeFlag(*args, **kwargs):
|
||||
"""
|
||||
GetAdjustMinSizeFlag(self) -> bool
|
||||
|
||||
Returns whether the minsize should be adjusted for this control when
|
||||
`SetLabel` or `SetFont` are called.
|
||||
"""
|
||||
return _core_.Control_GetAdjustMinSizeFlag(*args, **kwargs)
|
||||
|
||||
def SetAdjustMinSizeFlag(*args, **kwargs):
|
||||
"""
|
||||
SetAdjustMinSizeFlag(self, bool adjust)
|
||||
|
||||
By default controls will readjust their size and minsize when
|
||||
`SetLabel` or `SetFont` are called. This flag will allow you to
|
||||
control this behavior.
|
||||
"""
|
||||
return _core_.Control_SetAdjustMinSizeFlag(*args, **kwargs)
|
||||
|
||||
def GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
||||
"""
|
||||
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if you want
|
||||
to use the same font or colour in your own control as in a standard
|
||||
control -- which is a much better idea than hard coding specific
|
||||
colours or fonts which might look completely out of place on the
|
||||
user's system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of
|
||||
the returned font. See `wx.Window.SetWindowVariant` for more about
|
||||
this.
|
||||
"""
|
||||
return _core_.Control_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
|
||||
@@ -8294,7 +8308,20 @@ def PreControl(*args, **kwargs):
|
||||
return val
|
||||
|
||||
def Control_GetClassDefaultAttributes(*args, **kwargs):
|
||||
"""Control_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes"""
|
||||
"""
|
||||
Control_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
|
||||
|
||||
Get the default attributes for this class. This is useful if you want
|
||||
to use the same font or colour in your own control as in a standard
|
||||
control -- which is a much better idea than hard coding specific
|
||||
colours or fonts which might look completely out of place on the
|
||||
user's system, especially if it uses themes.
|
||||
|
||||
The variant parameter is only relevant under Mac currently and is
|
||||
ignore under other platforms. Under Mac, it will change the size of
|
||||
the returned font. See `wx.Window.SetWindowVariant` for more about
|
||||
this.
|
||||
"""
|
||||
return _core_.Control_GetClassDefaultAttributes(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -8567,6 +8594,15 @@ class SizerItem(Object):
|
||||
"""
|
||||
return _core_.SizerItem_GetMinSize(*args, **kwargs)
|
||||
|
||||
def GetMinSizeWithBorder(*args, **kwargs):
|
||||
"""
|
||||
GetMinSizeWithBorder(self) -> Size
|
||||
|
||||
Get the minimum size needed for the item with space for the borders
|
||||
added, if needed.
|
||||
"""
|
||||
return _core_.SizerItem_GetMinSizeWithBorder(*args, **kwargs)
|
||||
|
||||
def SetInitSize(*args, **kwargs):
|
||||
"""SetInitSize(self, int x, int y)"""
|
||||
return _core_.SizerItem_SetInitSize(*args, **kwargs)
|
||||
@@ -10477,7 +10513,7 @@ def CallAfter(callable, *args, **kw):
|
||||
:see: `wx.FutureCall`
|
||||
"""
|
||||
app = wx.GetApp()
|
||||
assert app, 'No wxApp created yet'
|
||||
assert app is not None, 'No wx.App created yet'
|
||||
|
||||
global _wxPyCallAfterId
|
||||
if _wxPyCallAfterId is None:
|
||||
|
@@ -22883,6 +22883,61 @@ static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, P
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_InvalidateBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->InvalidateBestSize();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_GetBestFittingSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxSize result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxWindow const *)arg1)->GetBestFittingSize();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxSize * resultptr;
|
||||
resultptr = new wxSize((wxSize &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
@@ -26262,7 +26317,7 @@ static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject
|
||||
static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxCursor *result;
|
||||
wxCursor result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
@@ -26273,17 +26328,15 @@ static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxCursor &_result_ref = (arg1)->GetCursor();
|
||||
result = (wxCursor *) &_result_ref;
|
||||
}
|
||||
result = (arg1)->GetCursor();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxCursor* resultptr = new wxCursor(*result);
|
||||
resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
|
||||
wxCursor * resultptr;
|
||||
resultptr = new wxCursor((wxCursor &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
@@ -26365,7 +26418,7 @@ static PyObject *_wrap_Window_SetDefaultFont(PyObject *self, PyObject *args, PyO
|
||||
static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxWindow *arg1 = (wxWindow *) 0 ;
|
||||
wxFont *result;
|
||||
wxFont result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
@@ -26376,17 +26429,15 @@ static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
{
|
||||
wxFont &_result_ref = (arg1)->GetFont();
|
||||
result = (wxFont *) &_result_ref;
|
||||
}
|
||||
result = (arg1)->GetFont();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxFont* resultptr = new wxFont(*result);
|
||||
resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
|
||||
wxFont * resultptr;
|
||||
resultptr = new wxFont((wxFont &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
@@ -33595,63 +33646,6 @@ static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_GetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetAdjustMinSizeFlag",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (bool)(arg1)->GetAdjustMinSizeFlag();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_SetAdjustMinSizeFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxControl *arg1 = (wxControl *) 0 ;
|
||||
bool arg2 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self",(char *) "adjust", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetAdjustMinSizeFlag",kwnames,&obj0,&obj1)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
arg2 = (bool) SWIG_AsBool(obj1);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
(arg1)->SetAdjustMinSizeFlag(arg2);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
Py_INCREF(Py_None); resultobj = Py_None;
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
|
||||
@@ -33667,11 +33661,12 @@ static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *self, PyObjec
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
if (!wxPyCheckForApp()) SWIG_fail;
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxVisualAttributes * resultptr;
|
||||
@@ -34598,6 +34593,36 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyOb
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
wxSize result;
|
||||
PyObject * obj0 = 0 ;
|
||||
char *kwnames[] = {
|
||||
(char *) "self", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
|
||||
|
||||
wxPyEndAllowThreads(__tstate);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
{
|
||||
wxSize * resultptr;
|
||||
resultptr = new wxSize((wxSize &) result);
|
||||
resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
|
||||
}
|
||||
return resultobj;
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
|
||||
@@ -41194,6 +41219,8 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -41501,8 +41528,6 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_GetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_SetAdjustMinSizeFlag", (PyCFunction) _wrap_Control_SetAdjustMinSizeFlag, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
|
||||
{ (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
|
||||
@@ -41533,6 +41558,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
|
||||
{ (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
|
||||
|
@@ -2699,7 +2699,12 @@ class DC(_core.Object):
|
||||
return _gdi_.DC_GetCharWidth(*args, **kwargs)
|
||||
|
||||
def GetTextExtent(*args, **kwargs):
|
||||
"""GetTextExtent(wxString string) -> (width, height)"""
|
||||
"""
|
||||
GetTextExtent(wxString string) -> (width, height)
|
||||
|
||||
Get the width and height of the text using the current font. Only
|
||||
works for single line strings.
|
||||
"""
|
||||
return _gdi_.DC_GetTextExtent(*args, **kwargs)
|
||||
|
||||
def GetFullTextExtent(*args, **kwargs):
|
||||
@@ -2716,6 +2721,10 @@ class DC(_core.Object):
|
||||
"""
|
||||
GetMultiLineTextExtent(wxString string, Font font=None) ->
|
||||
(width, height, descent, externalLeading)
|
||||
|
||||
Get the width, height, decent and leading of the text using the
|
||||
current or specified font. Works for single as well as multi-line
|
||||
strings.
|
||||
"""
|
||||
return _gdi_.DC_GetMultiLineTextExtent(*args, **kwargs)
|
||||
|
||||
|
@@ -3273,7 +3273,11 @@ class DateTime(object):
|
||||
|
||||
GetWeekDayName = staticmethod(GetWeekDayName)
|
||||
def GetAmPmStrings(*args, **kwargs):
|
||||
"""GetAmPmStrings() -> (am, pm)"""
|
||||
"""
|
||||
GetAmPmStrings() -> (am, pm)
|
||||
|
||||
Get the AM and PM strings in the current locale (may be empty)
|
||||
"""
|
||||
return _misc_.DateTime_GetAmPmStrings(*args, **kwargs)
|
||||
|
||||
GetAmPmStrings = staticmethod(GetAmPmStrings)
|
||||
@@ -3747,7 +3751,11 @@ def DateTime_GetWeekDayName(*args, **kwargs):
|
||||
return _misc_.DateTime_GetWeekDayName(*args, **kwargs)
|
||||
|
||||
def DateTime_GetAmPmStrings(*args, **kwargs):
|
||||
"""GetAmPmStrings() -> (am, pm)"""
|
||||
"""
|
||||
GetAmPmStrings() -> (am, pm)
|
||||
|
||||
Get the AM and PM strings in the current locale (may be empty)
|
||||
"""
|
||||
return _misc_.DateTime_GetAmPmStrings(*args, **kwargs)
|
||||
|
||||
def DateTime_IsDSTApplicable(*args, **kwargs):
|
||||
@@ -4854,7 +4862,11 @@ class FileDataObject(DataObjectSimple):
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def GetFilenames(*args, **kwargs):
|
||||
"""GetFilenames(self) -> [names]"""
|
||||
"""
|
||||
GetFilenames(self) -> [names]
|
||||
|
||||
Returns a list of file names.
|
||||
"""
|
||||
return _misc_.FileDataObject_GetFilenames(*args, **kwargs)
|
||||
|
||||
def AddFile(*args, **kwargs):
|
||||
@@ -5340,6 +5352,15 @@ class Clipboard(_core.Object):
|
||||
"""
|
||||
return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)
|
||||
|
||||
def Get(*args, **kwargs):
|
||||
"""
|
||||
Get() -> Clipboard
|
||||
|
||||
Returns global instance (wxTheClipboard) of the object.
|
||||
"""
|
||||
return _misc_.Clipboard_Get(*args, **kwargs)
|
||||
|
||||
Get = staticmethod(Get)
|
||||
|
||||
class ClipboardPtr(Clipboard):
|
||||
def __init__(self, this):
|
||||
@@ -5348,6 +5369,31 @@ class ClipboardPtr(Clipboard):
|
||||
self.__class__ = Clipboard
|
||||
_misc_.Clipboard_swigregister(ClipboardPtr)
|
||||
|
||||
def Clipboard_Get(*args, **kwargs):
|
||||
"""
|
||||
Clipboard_Get() -> Clipboard
|
||||
|
||||
Returns global instance (wxTheClipboard) of the object.
|
||||
"""
|
||||
return _misc_.Clipboard_Get(*args, **kwargs)
|
||||
|
||||
class _wxPyDelayedInitWrapper(object):
|
||||
def __init__(self, initfunc, *args, **kwargs):
|
||||
self._initfunc = initfunc
|
||||
self._args = args
|
||||
self._kwargs = kwargs
|
||||
self._instance = None
|
||||
def _checkInstance(self):
|
||||
if self._instance is None:
|
||||
self._instance = self._initfunc(*self._args, **self._kwargs)
|
||||
def __getattr__(self, name):
|
||||
self._checkInstance()
|
||||
return getattr(self._instance, name)
|
||||
def __repr__(self):
|
||||
self._checkInstance()
|
||||
return repr(self._instance)
|
||||
TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get)
|
||||
|
||||
class ClipboardLocker(object):
|
||||
"""
|
||||
A helpful class for opening the clipboard and automatically
|
||||
@@ -5388,7 +5434,6 @@ class ClipboardLockerPtr(ClipboardLocker):
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = ClipboardLocker
|
||||
_misc_.ClipboardLocker_swigregister(ClipboardLockerPtr)
|
||||
TheClipboard = cvar.TheClipboard
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
@@ -27256,6 +27256,28 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *a
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
@@ -27263,20 +27285,6 @@ static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
|
||||
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 ;
|
||||
@@ -28990,6 +28998,7 @@ static PyMethodDef SwigMethods[] = {
|
||||
{ (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 },
|
||||
@@ -30169,7 +30178,6 @@ SWIGEXPORT(void) SWIG_init(void) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
@@ -137,7 +137,11 @@ class ScrolledWindow(Panel):
|
||||
return _windows_.ScrolledWindow_SetScrollRate(*args, **kwargs)
|
||||
|
||||
def GetScrollPixelsPerUnit(*args, **kwargs):
|
||||
"""GetScrollPixelsPerUnit() -> (xUnit, yUnit)"""
|
||||
"""
|
||||
GetScrollPixelsPerUnit() -> (xUnit, yUnit)
|
||||
|
||||
Get the size of one logical unit in physical units.
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs)
|
||||
|
||||
def EnableScrolling(*args, **kwargs):
|
||||
@@ -145,7 +149,11 @@ class ScrolledWindow(Panel):
|
||||
return _windows_.ScrolledWindow_EnableScrolling(*args, **kwargs)
|
||||
|
||||
def GetViewStart(*args, **kwargs):
|
||||
"""GetViewStart() -> (x,y)"""
|
||||
"""
|
||||
GetViewStart() -> (x,y)
|
||||
|
||||
Get the view start
|
||||
"""
|
||||
return _windows_.ScrolledWindow_GetViewStart(*args, **kwargs)
|
||||
|
||||
def SetScale(*args, **kwargs):
|
||||
@@ -2471,7 +2479,12 @@ class MultiChoiceDialog(Dialog):
|
||||
self._setOORInfo(self)
|
||||
|
||||
def SetSelections(*args, **kwargs):
|
||||
"""SetSelections(List selections)"""
|
||||
"""
|
||||
SetSelections(List selections)
|
||||
|
||||
Specify the items in the list that should be selected, using a list of
|
||||
integers.
|
||||
"""
|
||||
return _windows_.MultiChoiceDialog_SetSelections(*args, **kwargs)
|
||||
|
||||
def GetSelections(*args, **kwargs):
|
||||
|
Reference in New Issue
Block a user