X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c20af5de8122ea5ec248e030f30adef69b04edc..a9a04486a2fc7be11a42343070ff8dd859618c46:/wxPython/src/_cmndlgs.i diff --git a/wxPython/src/_cmndlgs.i b/wxPython/src/_cmndlgs.i index 37a0253954..8f96125982 100644 --- a/wxPython/src/_cmndlgs.i +++ b/wxPython/src/_cmndlgs.i @@ -180,6 +180,11 @@ public: //--------------------------------------------------------------------------- +%{ +// for compatibility only +#define wxHIDE_READONLY 0 +%} + enum { // These will dissappear in 2.8 wxOPEN, @@ -188,6 +193,7 @@ enum { wxFILE_MUST_EXIST, wxMULTIPLE, wxCHANGE_DIR, + wxHIDE_READONLY, wxFD_OPEN, wxFD_SAVE, @@ -513,6 +519,30 @@ public: //--------------------------------------------------------------------------- +DocStr( wxNumberEntryDialog, +"A dialog with spin control, ok and cancel buttons.", "") + +MustHaveApp(wxNumberEntryDialog); + +class wxNumberEntryDialog : public wxDialog +{ +public: + %pythonAppend wxNumberEntryDialog "self._setOORInfo(self)" + + DocCtorStr( + wxNumberEntryDialog(wxWindow *parent, + const wxString& message, + const wxString& prompt, + const wxString& caption, + long value, long min, long max, + const wxPoint& pos = wxDefaultPosition), + "Constructor. Use ShowModal method to show the dialog.", ""); + + long GetValue(); +}; + +//--------------------------------------------------------------------------- + DocStr(wxFontData, "This class holds a variety of information related to font dialogs and