X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ac8dba00c38e34f3b69d4199366c89bf19e2cd8..b519803b436486ca933d750c990ef64a29551221:/wxPython/src/gtk/_windows.py diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index dda373a8ad..13fe7eded0 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -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