X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/070c48b4c06ca072a1bceb106b55487b438df8da..9eefe9f0850b000d52f8a91d84e1d36041c139db:/wxPython/src/mac/_windows.py diff --git a/wxPython/src/mac/_windows.py b/wxPython/src/mac/_windows.py index 41996c9356..4eb8965a43 100644 --- a/wxPython/src/mac/_windows.py +++ b/wxPython/src/mac/_windows.py @@ -1062,7 +1062,7 @@ class SplitterWindow(_core.Window): """ SetSashSize(self, int width) - Sets the sash size + Sets the sash size. Currently a NOP. """ return _windows_.SplitterWindow_SetSashSize(*args, **kwargs) @@ -1070,7 +1070,7 @@ class SplitterWindow(_core.Window): """ SetBorderSize(self, int width) - Sets the border size + Sets the border size. Currently a NOP. """ return _windows_.SplitterWindow_SetBorderSize(*args, **kwargs) @@ -2581,6 +2581,7 @@ class SingleChoiceDialogPtr(SingleChoiceDialog): self.__class__ = SingleChoiceDialog _windows_.SingleChoiceDialog_swigregister(SingleChoiceDialogPtr) +TextEntryDialogStyle = _windows_.TextEntryDialogStyle class TextEntryDialog(Dialog): """A dialog with text control, [ok] and [cancel] buttons""" def __repr__(self): @@ -2589,7 +2590,7 @@ class TextEntryDialog(Dialog): """ __init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr, String defaultValue=EmptyString, - long style=wxTextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog + long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> TextEntryDialog Constructor. Use ShowModal method to show the dialog. """ @@ -2631,7 +2632,7 @@ class PasswordEntryDialog(TextEntryDialog): """ __init__(self, Window parent, String message, String caption=GetPasswordFromUserPromptStr, String value=EmptyString, - long style=wxTextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog + long style=TextEntryDialogStyle, Point pos=DefaultPosition) -> PasswordEntryDialog """ newobj = _windows_.new_PasswordEntryDialog(*args, **kwargs) self.this = newobj.this @@ -4055,7 +4056,7 @@ class PageSetupDialogDataPtr(PageSetupDialogData): self.__class__ = PageSetupDialogData _windows_.PageSetupDialogData_swigregister(PageSetupDialogDataPtr) -class PageSetupDialog(Dialog): +class PageSetupDialog(_core.Object): def __repr__(self): return "<%s.%s; proxy of C++ wxPageSetupDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): @@ -4064,12 +4065,14 @@ class PageSetupDialog(Dialog): self.this = newobj.this self.thisown = 1 del newobj.thisown - self._setOORInfo(self) - def GetPageSetupData(*args, **kwargs): """GetPageSetupData(self) -> PageSetupDialogData""" return _windows_.PageSetupDialog_GetPageSetupData(*args, **kwargs) + def GetPageSetupDialogData(*args, **kwargs): + """GetPageSetupDialogData(self) -> PageSetupDialogData""" + return _windows_.PageSetupDialog_GetPageSetupDialogData(*args, **kwargs) + def ShowModal(*args, **kwargs): """ShowModal(self) -> int""" return _windows_.PageSetupDialog_ShowModal(*args, **kwargs)