X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a68b8331cb0268648044a45903ec6519517d618d..b519803b436486ca933d750c990ef64a29551221:/wxPython/src/gtk/_windows.py diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 933ba29b81..13fe7eded0 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -1057,7 +1057,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) @@ -1065,7 +1065,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) @@ -2604,6 +2604,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): @@ -2612,7 +2613,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. """ @@ -2654,7 +2655,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 @@ -4078,7 +4079,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): @@ -4087,12 +4088,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)