X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..9779893b90e4ffbb036329c2411f15aff0a93295:/include/wx/textdlg.h?ds=sidebyside

diff --git a/include/wx/textdlg.h b/include/wx/textdlg.h
index 491bd8b4fa..9fe13dda44 100644
--- a/include/wx/textdlg.h
+++ b/include/wx/textdlg.h
@@ -3,5 +3,19 @@
 
 #include "wx/generic/textdlgg.h"
 
+// ----------------------------------------------------------------------------
+// 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_