X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/704eda0cdc33dfb009dfd578fdf78ee29e159f23..d7a7616b9d95c6b52073585c9c849c36a6d49cb5:/wxPython/src/msw/_windows.py diff --git a/wxPython/src/msw/_windows.py b/wxPython/src/msw/_windows.py index e53a80f8f4..75048b926b 100644 --- a/wxPython/src/msw/_windows.py +++ b/wxPython/src/msw/_windows.py @@ -2209,6 +2209,7 @@ OVERWRITE_PROMPT = _windows_.OVERWRITE_PROMPT FILE_MUST_EXIST = _windows_.FILE_MUST_EXIST MULTIPLE = _windows_.MULTIPLE CHANGE_DIR = _windows_.CHANGE_DIR +HIDE_READONLY = _windows_.HIDE_READONLY FD_OPEN = _windows_.FD_OPEN FD_SAVE = _windows_.FD_SAVE FD_OVERWRITE_PROMPT = _windows_.FD_OVERWRITE_PROMPT @@ -2500,6 +2501,26 @@ class PasswordEntryDialog(TextEntryDialog): _windows_.PasswordEntryDialog_swigregister(PasswordEntryDialog) GetPasswordFromUserPromptStr = cvar.GetPasswordFromUserPromptStr +class NumberEntryDialog(Dialog): + """A dialog with spin control, ok and cancel buttons.""" + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') + __repr__ = _swig_repr + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, String message, String prompt, String caption, + long value, long min, long max, Point pos=DefaultPosition) -> NumberEntryDialog + + Constructor. Use ShowModal method to show the dialog. + """ + _windows_.NumberEntryDialog_swiginit(self,_windows_.new_NumberEntryDialog(*args, **kwargs)) + self._setOORInfo(self) + + def GetValue(*args, **kwargs): + """GetValue(self) -> long""" + return _windows_.NumberEntryDialog_GetValue(*args, **kwargs) + +_windows_.NumberEntryDialog_swigregister(NumberEntryDialog) + class FontData(_core.Object): """ This class holds a variety of information related to font dialogs and