//---------------------------------------------------------------------------
+%{
+// for compatibility only
+#define wxHIDE_READONLY 0
+%}
+
enum {
// These will dissappear in 2.8
wxOPEN,
wxFILE_MUST_EXIST,
wxMULTIPLE,
wxCHANGE_DIR,
+ wxHIDE_READONLY,
wxFD_OPEN,
wxFD_SAVE,
wxFD_FILE_MUST_EXIST,
wxFD_MULTIPLE,
wxFD_CHANGE_DIR,
+ wxFD_PREVIEW,
wxFD_DEFAULT_STYLE,
};
DocDeclStr(
int , GetSelection(),
- "Get the index of teh currently selected item.", "");
+ "Get the index of the currently selected item.", "");
DocDeclStr(
wxString , GetStringSelection(),
//---------------------------------------------------------------------------
+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