]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textdlg.h
Renamed wxStream::StreamSize() to wxStream::GetSize()
[wxWidgets.git] / include / wx / textdlg.h
index 491bd8b4fa8c2a84834a631533ab5cb601dd61ae..564f6e14cf99f20fe0569cc1ea6b1b2a8a6db498 100644 (file)
@@ -1,7 +1,25 @@
 #ifndef _WX_TEXTDLG_H_BASE_
 #define _WX_TEXTDLG_H_BASE_
 
+#ifdef __WXGTK__
+#include "wx/gtk/textdlg.h"
+#else
 #include "wx/generic/textdlgg.h"
+#endif
+
+// ----------------------------------------------------------------------------
+// function to get a number from user
+// ----------------------------------------------------------------------------
+
+long WXDLLEXPORT
+wxGetNumberFromUser(const wxString& message,
+                    const wxString& prompt,
+                    const wxString& caption,
+                    long value = 0,
+                    long min = 0,
+                    long max = 100,
+                    wxWindow *parent = (wxWindow *)NULL,
+                    const wxPoint& pos = wxDefaultPosition);
 
 #endif
     // _WX_TEXTDLG_H_BASE_