reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9567,7 +9567,7 @@ class Window(EvtHandler):
|
||||
self._setCallbackInfo(self, self.__class__)
|
||||
|
||||
def SendSizeEvent(self):
|
||||
self.GetEventhandler().ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||
self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||
|
||||
_core_.Window_swigregister(Window)
|
||||
|
||||
|
@@ -3465,7 +3465,7 @@ class DC(_core.Object):
|
||||
"""
|
||||
GetPPI(self) -> Size
|
||||
|
||||
Resolution in Pixels per inch
|
||||
Resolution in pixels per inch
|
||||
"""
|
||||
return _gdi_.DC_GetPPI(*args, **kwargs)
|
||||
|
||||
|
@@ -2902,8 +2902,8 @@ SWIGINTERN wxBitmap *new_wxBitmap(PyObject *listOfStrings){
|
||||
return bmp;
|
||||
}
|
||||
SWIGINTERN wxBitmap *new_wxBitmap(PyObject *bits,int width,int height,int depth=1){
|
||||
char* buf;
|
||||
int length;
|
||||
char* buf;
|
||||
Py_ssize_t length;
|
||||
PyString_AsStringAndSize(bits, &buf, &length);
|
||||
return new wxBitmap(buf, width, height, depth);
|
||||
}
|
||||
|
@@ -54,7 +54,6 @@ def _swig_setattr_nondynamic_method(set):
|
||||
USE_TEXTATTREX = _richtext.USE_TEXTATTREX
|
||||
import _windows
|
||||
import _core
|
||||
import _gdi
|
||||
wx = _core
|
||||
__docfilter__ = wx.__DocFilter(globals())
|
||||
RE_READONLY = _richtext.RE_READONLY
|
||||
@@ -260,7 +259,7 @@ class RichTextAttr(object):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Colour colText=NullColour, Colour colBack=NullColour,
|
||||
__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour,
|
||||
int alignment=TEXT_ALIGNMENT_DEFAULT) -> RichTextAttr
|
||||
|
||||
The RichTextAttr class stored information about the various attributes
|
||||
@@ -557,16 +556,18 @@ class RichTextCtrl(_windows.ScrolledWindow):
|
||||
__repr__ = _swig_repr
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=RE_MULTILINE) -> RichTextCtrl
|
||||
__init__(self, Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=RE_MULTILINE) -> RichTextCtrl
|
||||
"""
|
||||
_richtext.RichTextCtrl_swiginit(self,_richtext.new_RichTextCtrl(*args, **kwargs))
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=RE_MULTILINE) -> bool
|
||||
Create(self, Window parent, int id=-1, String value=EmptyString,
|
||||
Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=RE_MULTILINE) -> bool
|
||||
"""
|
||||
return _richtext.RichTextCtrl_Create(*args, **kwargs)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user