]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textdlg.h
Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
[wxWidgets.git] / include / wx / textdlg.h
index 4404fe1435328bf0f9141bf5a0278c9d1e8edd38..9fe13dda44da511c8d18ded88c3c1e09f5d49360 100644 (file)
@@ -1,7 +1,21 @@
-#ifndef __TEXTDLGH_BASE__
-#define __TEXTDLGH_BASE__
+#ifndef _WX_TEXTDLG_H_BASE_
+#define _WX_TEXTDLG_H_BASE_
 
 #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
-    // __TEXTDLGH_BASE__
+    // _WX_TEXTDLG_H_BASE_