]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textdlg.h
added wxBitmapToHICON/CURSOR helper functions
[wxWidgets.git] / include / wx / textdlg.h
index 6e5718805935da32377a27f12863f36669b2e42a..9fe13dda44da511c8d18ded88c3c1e09f5d49360 100644 (file)
@@ -1,11 +1,21 @@
 #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_