mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-20 21:08:24 +08:00
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3090,7 +3090,7 @@ class NotebookPage(wx.Panel):
|
||||
wx.Panel.__init__(self, parent, id, pos, size, style, name)
|
||||
self.child = None
|
||||
EVT_SIZE(self, self.OnSize)
|
||||
|
||||
|
||||
def OnSize(self, evt):
|
||||
if self.child is None:
|
||||
children = self.GetChildren()
|
||||
@@ -3177,6 +3177,80 @@ wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_LISTBOOK_PAGE_CH
|
||||
EVT_LISTBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 1 )
|
||||
EVT_LISTBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 1 )
|
||||
|
||||
CHB_DEFAULT = _controls_.CHB_DEFAULT
|
||||
CHB_TOP = _controls_.CHB_TOP
|
||||
CHB_BOTTOM = _controls_.CHB_BOTTOM
|
||||
CHB_LEFT = _controls_.CHB_LEFT
|
||||
CHB_RIGHT = _controls_.CHB_RIGHT
|
||||
CHB_ALIGN_MASK = _controls_.CHB_ALIGN_MASK
|
||||
class Choicebook(BookCtrl):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxChoicebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=EmptyString) -> Choicebook
|
||||
"""
|
||||
newobj = _controls_.new_Choicebook(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
self._setOORInfo(self)
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=0, String name=EmptyString) -> bool
|
||||
"""
|
||||
return _controls_.Choicebook_Create(*args, **kwargs)
|
||||
|
||||
def IsVertical(*args, **kwargs):
|
||||
"""IsVertical(self) -> bool"""
|
||||
return _controls_.Choicebook_IsVertical(*args, **kwargs)
|
||||
|
||||
def DeleteAllPages(*args, **kwargs):
|
||||
"""DeleteAllPages(self) -> bool"""
|
||||
return _controls_.Choicebook_DeleteAllPages(*args, **kwargs)
|
||||
|
||||
|
||||
class ChoicebookPtr(Choicebook):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = Choicebook
|
||||
_controls_.Choicebook_swigregister(ChoicebookPtr)
|
||||
|
||||
def PreChoicebook(*args, **kwargs):
|
||||
"""PreChoicebook() -> Choicebook"""
|
||||
val = _controls_.new_PreChoicebook(*args, **kwargs)
|
||||
val.thisown = 1
|
||||
return val
|
||||
|
||||
class ChoicebookEvent(BookCtrlEvent):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxChoicebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""
|
||||
__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1,
|
||||
int nOldSel=-1) -> ChoicebookEvent
|
||||
"""
|
||||
newobj = _controls_.new_ChoicebookEvent(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
|
||||
class ChoicebookEventPtr(ChoicebookEvent):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = ChoicebookEvent
|
||||
_controls_.ChoicebookEvent_swigregister(ChoicebookEventPtr)
|
||||
|
||||
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
|
||||
wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING = _controls_.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
|
||||
EVT_CHOICEBOOK_PAGE_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED, 1 )
|
||||
EVT_CHOICEBOOK_PAGE_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING, 1 )
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class BookCtrlSizer(_core.Sizer):
|
||||
|
||||
+833
-485
File diff suppressed because one or more lines are too long
+88
-12
@@ -1771,6 +1771,11 @@ class FileSystem(Object):
|
||||
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
|
||||
|
||||
FileNameToURL = staticmethod(FileNameToURL)
|
||||
def URLToFileName(*args, **kwargs):
|
||||
"""URLToFileName(String url) -> String"""
|
||||
return _core_.FileSystem_URLToFileName(*args, **kwargs)
|
||||
|
||||
URLToFileName = staticmethod(URLToFileName)
|
||||
|
||||
class FileSystemPtr(FileSystem):
|
||||
def __init__(self, this):
|
||||
@@ -1791,10 +1796,10 @@ def FileSystem_FileNameToURL(*args, **kwargs):
|
||||
"""FileSystem_FileNameToURL(String filename) -> String"""
|
||||
return _core_.FileSystem_FileNameToURL(*args, **kwargs)
|
||||
|
||||
|
||||
def FileSystem_URLToFileName(*args, **kwargs):
|
||||
"""FileSystem_URLToFileName(String url) -> String"""
|
||||
return _core_.FileSystem_URLToFileName(*args, **kwargs)
|
||||
|
||||
class InternetFSHandler(CPPFileSystemHandler):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxInternetFSHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
@@ -1865,14 +1870,22 @@ def __wxMemoryFSHandler_AddFile_wxBitmap(*args, **kwargs):
|
||||
def __wxMemoryFSHandler_AddFile_Data(*args, **kwargs):
|
||||
"""__wxMemoryFSHandler_AddFile_Data(String filename, PyObject data)"""
|
||||
return _core_.__wxMemoryFSHandler_AddFile_Data(*args, **kwargs)
|
||||
def MemoryFSHandler_AddFile(filename, a, b=''):
|
||||
if isinstance(a, wx.Image):
|
||||
__wxMemoryFSHandler_AddFile_wxImage(filename, a, b)
|
||||
elif isinstance(a, wx.Bitmap):
|
||||
__wxMemoryFSHandler_AddFile_wxBitmap(filename, a, b)
|
||||
elif type(a) == str:
|
||||
__wxMemoryFSHandler_AddFile_Data(filename, a)
|
||||
else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
|
||||
def MemoryFSHandler_AddFile(filename, dataItem, imgType=-1):
|
||||
"""
|
||||
Add 'file' to the memory filesystem. The dataItem parameter can
|
||||
either be a `wx.Bitmap`, `wx.Image` or a string that can contain
|
||||
arbitrary data. If a bitmap or image is used then the imgType
|
||||
parameter should specify what kind of image file it should be
|
||||
written as, wx.BITMAP_TYPE_PNG, etc.
|
||||
"""
|
||||
if isinstance(dataItem, wx.Image):
|
||||
__wxMemoryFSHandler_AddFile_wxImage(filename, dataItem, imgType)
|
||||
elif isinstance(dataItem, wx.Bitmap):
|
||||
__wxMemoryFSHandler_AddFile_wxBitmap(filename, dataItem, imgType)
|
||||
elif type(dataItem) == str:
|
||||
__wxMemoryFSHandler_AddFile_Data(filename, dataItem)
|
||||
else:
|
||||
raise TypeError, 'wx.Image, wx.Bitmap or string expected'
|
||||
|
||||
class MemoryFSHandler(CPPFileSystemHandler):
|
||||
def __repr__(self):
|
||||
@@ -5398,6 +5411,69 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class EventLoop(object):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxEventLoop instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self) -> EventLoop"""
|
||||
newobj = _core_.new_EventLoop(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_core_.delete_EventLoop):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
def Run(*args, **kwargs):
|
||||
"""Run(self) -> int"""
|
||||
return _core_.EventLoop_Run(*args, **kwargs)
|
||||
|
||||
def Exit(*args, **kwargs):
|
||||
"""Exit(self, int rc=0)"""
|
||||
return _core_.EventLoop_Exit(*args, **kwargs)
|
||||
|
||||
def Pending(*args, **kwargs):
|
||||
"""Pending(self) -> bool"""
|
||||
return _core_.EventLoop_Pending(*args, **kwargs)
|
||||
|
||||
def Dispatch(*args, **kwargs):
|
||||
"""Dispatch(self) -> bool"""
|
||||
return _core_.EventLoop_Dispatch(*args, **kwargs)
|
||||
|
||||
def IsRunning(*args, **kwargs):
|
||||
"""IsRunning(self) -> bool"""
|
||||
return _core_.EventLoop_IsRunning(*args, **kwargs)
|
||||
|
||||
def GetActive(*args, **kwargs):
|
||||
"""GetActive() -> EventLoop"""
|
||||
return _core_.EventLoop_GetActive(*args, **kwargs)
|
||||
|
||||
GetActive = staticmethod(GetActive)
|
||||
def SetActive(*args, **kwargs):
|
||||
"""SetActive(EventLoop loop)"""
|
||||
return _core_.EventLoop_SetActive(*args, **kwargs)
|
||||
|
||||
SetActive = staticmethod(SetActive)
|
||||
|
||||
class EventLoopPtr(EventLoop):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = EventLoop
|
||||
_core_.EventLoop_swigregister(EventLoopPtr)
|
||||
|
||||
def EventLoop_GetActive(*args, **kwargs):
|
||||
"""EventLoop_GetActive() -> EventLoop"""
|
||||
return _core_.EventLoop_GetActive(*args, **kwargs)
|
||||
|
||||
def EventLoop_SetActive(*args, **kwargs):
|
||||
"""EventLoop_SetActive(EventLoop loop)"""
|
||||
return _core_.EventLoop_SetActive(*args, **kwargs)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class AcceleratorEntry(object):
|
||||
"""
|
||||
A class used to define items in an `wx.AcceleratorTable`. wxPython
|
||||
@@ -7525,7 +7601,7 @@ class Window(EvtHandler):
|
||||
layout sizer object is already owned by the window, it will be deleted
|
||||
if the deleteOld parameter is true. Note that this function will also
|
||||
call SetAutoLayout implicitly with a True parameter if the sizer is
|
||||
non-NoneL and False otherwise.
|
||||
non-None, and False otherwise.
|
||||
"""
|
||||
return _core_.Window_SetSizer(*args, **kwargs)
|
||||
|
||||
@@ -9324,7 +9400,7 @@ class Sizer(Object):
|
||||
|
||||
def Show(*args, **kwargs):
|
||||
"""
|
||||
Show(self, item, bool show=True, bool recursive=False) -> bool
|
||||
Show(self, item, bool show=True, bool recursive=false) -> bool
|
||||
|
||||
Shows or hides an item managed by the sizer. To make a sizer item
|
||||
disappear or reappear, use Show followed by `Layout`. The *item*
|
||||
@@ -9349,7 +9425,7 @@ class Sizer(Object):
|
||||
"""
|
||||
A convenience method for Show(item, False, recursive).
|
||||
"""
|
||||
return self.Show(item, False, recursive)
|
||||
return self.Show(item, false, recursive)
|
||||
|
||||
def ShowItems(*args, **kwargs):
|
||||
"""
|
||||
|
||||
+773
-486
File diff suppressed because it is too large
Load Diff
+143
-143
File diff suppressed because it is too large
Load Diff
+400
-400
File diff suppressed because it is too large
Load Diff
@@ -294,6 +294,7 @@ FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT
|
||||
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
|
||||
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
|
||||
FRAME_SHAPED = _windows_.FRAME_SHAPED
|
||||
FRAME_DRAWER = _windows_.FRAME_DRAWER
|
||||
DIALOG_MODAL = _windows_.DIALOG_MODAL
|
||||
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
|
||||
USER_COLOURS = _windows_.USER_COLOURS
|
||||
@@ -2051,6 +2052,27 @@ class TaskBarIcon(_core.EvtHandler):
|
||||
"""
|
||||
return _windows_.TaskBarIcon_Destroy(*args, **kwargs)
|
||||
|
||||
def IsOk(*args, **kwargs):
|
||||
"""IsOk(self) -> bool"""
|
||||
return _windows_.TaskBarIcon_IsOk(*args, **kwargs)
|
||||
|
||||
def __nonzero__(self): return self.IsOk()
|
||||
def IsIconInstalled(*args, **kwargs):
|
||||
"""IsIconInstalled(self) -> bool"""
|
||||
return _windows_.TaskBarIcon_IsIconInstalled(*args, **kwargs)
|
||||
|
||||
def SetIcon(*args, **kwargs):
|
||||
"""SetIcon(self, Icon icon, String tooltip=EmptyString) -> bool"""
|
||||
return _windows_.TaskBarIcon_SetIcon(*args, **kwargs)
|
||||
|
||||
def RemoveIcon(*args, **kwargs):
|
||||
"""RemoveIcon(self) -> bool"""
|
||||
return _windows_.TaskBarIcon_RemoveIcon(*args, **kwargs)
|
||||
|
||||
def PopupMenu(*args, **kwargs):
|
||||
"""PopupMenu(self, Menu menu) -> bool"""
|
||||
return _windows_.TaskBarIcon_PopupMenu(*args, **kwargs)
|
||||
|
||||
|
||||
class TaskBarIconPtr(TaskBarIcon):
|
||||
def __init__(self, this):
|
||||
@@ -3648,6 +3670,21 @@ PRINT_MODE_PREVIEW = _windows_.PRINT_MODE_PREVIEW
|
||||
PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
|
||||
PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
|
||||
PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
|
||||
PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
|
||||
PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
|
||||
PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
|
||||
PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
|
||||
PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
|
||||
PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
|
||||
PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
|
||||
PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
|
||||
PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
|
||||
PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
|
||||
PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
|
||||
PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
|
||||
PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
|
||||
PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
|
||||
PRINTBIN_USER = _windows_.PRINTBIN_USER
|
||||
class PrintData(_core.Object):
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
@@ -3706,6 +3743,10 @@ class PrintData(_core.Object):
|
||||
"""GetQuality(self) -> int"""
|
||||
return _windows_.PrintData_GetQuality(*args, **kwargs)
|
||||
|
||||
def GetBin(*args, **kwargs):
|
||||
"""GetBin(self) -> int"""
|
||||
return _windows_.PrintData_GetBin(*args, **kwargs)
|
||||
|
||||
def SetNoCopies(*args, **kwargs):
|
||||
"""SetNoCopies(self, int v)"""
|
||||
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
|
||||
@@ -3742,6 +3783,10 @@ class PrintData(_core.Object):
|
||||
"""SetQuality(self, int quality)"""
|
||||
return _windows_.PrintData_SetQuality(*args, **kwargs)
|
||||
|
||||
def SetBin(*args, **kwargs):
|
||||
"""SetBin(self, int bin)"""
|
||||
return _windows_.PrintData_SetBin(*args, **kwargs)
|
||||
|
||||
def GetPrinterCommand(*args, **kwargs):
|
||||
"""GetPrinterCommand(self) -> String"""
|
||||
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)
|
||||
|
||||
+491
-236
File diff suppressed because it is too large
Load Diff
@@ -1291,7 +1291,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
wxCalendarCtrl *result;
|
||||
wxPoint temp4 ;
|
||||
wxSize temp5 ;
|
||||
bool temp7 = False ;
|
||||
bool temp7 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1339,7 +1339,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg7 = wxString_in_helper(obj6);
|
||||
if (arg7 == NULL) SWIG_fail;
|
||||
temp7 = True;
|
||||
temp7 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1405,7 +1405,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
bool result;
|
||||
wxPoint temp5 ;
|
||||
wxSize temp6 ;
|
||||
bool temp8 = False ;
|
||||
bool temp8 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -1454,7 +1454,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg8 = wxString_in_helper(obj7);
|
||||
if (arg8 == NULL) SWIG_fail;
|
||||
temp8 = True;
|
||||
temp8 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1737,7 +1737,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO
|
||||
static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1768,7 +1768,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args,
|
||||
static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
@@ -1799,7 +1799,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args
|
||||
static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
|
||||
PyObject *resultobj;
|
||||
wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ;
|
||||
bool arg2 = (bool) True ;
|
||||
bool arg2 = (bool) true ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
char *kwnames[] = {
|
||||
|
||||
+101
-101
File diff suppressed because it is too large
Load Diff
+15
-15
@@ -227,9 +227,9 @@ class HtmlWinParser(HtmlParser):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWinParser_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWinParser_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWinParser_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetContainer(*args, **kwargs):
|
||||
"""GetContainer(self) -> HtmlContainerCell"""
|
||||
@@ -1012,9 +1012,9 @@ class HtmlWindow(_windows.ScrolledWindow):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlWindow_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlWindow_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlWindow_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetTitle(*args, **kwargs):
|
||||
"""SetTitle(self, String title)"""
|
||||
@@ -1195,9 +1195,9 @@ class HtmlDCRenderer(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlDCRenderer_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def Render(*args, **kwargs):
|
||||
"""
|
||||
@@ -1250,9 +1250,9 @@ class HtmlPrintout(_windows.Printout):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlPrintout_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlPrintout_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def SetMargins(*args, **kwargs):
|
||||
"""
|
||||
@@ -1338,9 +1338,9 @@ class HtmlEasyPrinting(_core.Object):
|
||||
"""SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
|
||||
return _html.HtmlEasyPrinting_SetFonts(*args, **kwargs)
|
||||
|
||||
def NormalizeFontSizes(*args, **kwargs):
|
||||
"""NormalizeFontSizes(self, int size=-1)"""
|
||||
return _html.HtmlEasyPrinting_NormalizeFontSizes(*args, **kwargs)
|
||||
def SetStandardFonts(*args, **kwargs):
|
||||
"""SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
|
||||
return _html.HtmlEasyPrinting_SetStandardFonts(*args, **kwargs)
|
||||
|
||||
def GetPrintData(*args, **kwargs):
|
||||
"""GetPrintData(self) -> PrintData"""
|
||||
|
||||
+339
-149
File diff suppressed because it is too large
Load Diff
@@ -601,7 +601,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxEventType arg1 = (wxEventType) wxEVT_NULL ;
|
||||
int arg2 = (int) -1 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
wxWizardPage *arg4 = (wxWizardPage *) NULL ;
|
||||
wxWizardEvent *result;
|
||||
PyObject * obj0 = 0 ;
|
||||
@@ -715,7 +715,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -742,7 +742,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -868,7 +868,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
|
||||
wxString *arg3 = (wxString *) &wxPyEmptyString ;
|
||||
wxPyWizardPage *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -887,7 +887,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -945,7 +945,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
wxString const &arg4_defvalue = wxPyEmptyString ;
|
||||
wxString *arg4 = (wxString *) &arg4_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -972,7 +972,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
{
|
||||
@@ -1865,7 +1865,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
|
||||
long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
|
||||
wxWizard *result;
|
||||
bool temp3 = False ;
|
||||
bool temp3 = false ;
|
||||
wxPoint temp5 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1888,7 +1888,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
arg3 = wxString_in_helper(obj2);
|
||||
if (arg3 == NULL) SWIG_fail;
|
||||
temp3 = True;
|
||||
temp3 = true;
|
||||
}
|
||||
}
|
||||
if (obj3) {
|
||||
@@ -1968,7 +1968,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
wxPoint const &arg6_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
|
||||
bool result;
|
||||
bool temp4 = False ;
|
||||
bool temp4 = false ;
|
||||
wxPoint temp6 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
@@ -1993,7 +1993,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg
|
||||
{
|
||||
arg4 = wxString_in_helper(obj3);
|
||||
if (arg4 == NULL) SWIG_fail;
|
||||
temp4 = True;
|
||||
temp4 = true;
|
||||
}
|
||||
}
|
||||
if (obj4) {
|
||||
@@ -2300,7 +2300,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa
|
||||
PyObject *resultobj;
|
||||
wxWizard *arg1 = (wxWizard *) 0 ;
|
||||
wxWizardPage *arg2 = (wxWizardPage *) 0 ;
|
||||
bool arg3 = (bool) True ;
|
||||
bool arg3 = (bool) true ;
|
||||
bool result;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user