X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57dde4bd5860cda4666326b611f535dfc28139f2..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/include/wx/textdlg.h?ds=inline diff --git a/include/wx/textdlg.h b/include/wx/textdlg.h index 6e57188059..9fe13dda44 100644 --- a/include/wx/textdlg.h +++ b/include/wx/textdlg.h @@ -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_