X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/943e8dfd02366177b127037be5918c25e72a11f9..9269629e9edf24ce170f225d408a5472ab6864ac:/wxPython/src/mac/_windows.py diff --git a/wxPython/src/mac/_windows.py b/wxPython/src/mac/_windows.py index 0b4979cd0b..56bf8701e1 100644 --- a/wxPython/src/mac/_windows.py +++ b/wxPython/src/mac/_windows.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _windows_ @@ -628,6 +628,7 @@ class Dialog(TopLevelWindow): """Proxy of C++ Dialog class""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + ButtonSizerFlags = _windows_.Dialog_ButtonSizerFlags def __init__(self, *args, **kwargs): """ __init__(self, Window parent, int id=-1, String title=EmptyString, @@ -661,7 +662,7 @@ class Dialog(TopLevelWindow): return _windows_.Dialog_CreateTextSizer(*args, **kwargs) def CreateButtonSizer(*args, **kwargs): - """CreateButtonSizer(self, long flags) -> Sizer""" + """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer""" return _windows_.Dialog_CreateButtonSizer(*args, **kwargs) def CreateStdDialogButtonSizer(*args, **kwargs): @@ -2373,6 +2374,13 @@ class ColourDialogPtr(ColourDialog): self.__class__ = ColourDialog _windows_.ColourDialog_swigregister(ColourDialogPtr) + +def GetColourFromUser(*args, **kwargs): + """ + GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour, + String caption=EmptyString) -> Colour + """ + return _windows_.GetColourFromUser(*args, **kwargs) class DirDialog(Dialog): """ wx.DirDialog allows the user to select a directory by browising the @@ -2976,6 +2984,10 @@ class FontDialogPtr(FontDialog): self.__class__ = FontDialog _windows_.FontDialog_swigregister(FontDialogPtr) + +def GetFontFromUser(*args, **kwargs): + """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font""" + return _windows_.GetFontFromUser(*args, **kwargs) class MessageDialog(Dialog): """ This class provides a simple dialog that shows a single or multi-line @@ -4682,6 +4694,7 @@ class PrintPreview(_core.Object): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview """ newobj = _windows_.new_PrintPreview(*args) @@ -4792,6 +4805,7 @@ class PyPrintPreview(PrintPreview): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PyPrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview """ newobj = _windows_.new_PyPrintPreview(*args) @@ -4929,3 +4943,4 @@ class PyPreviewControlBarPtr(PyPreviewControlBar): _windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr) +