X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..edb8f2985fc838f92c60d9efd42462441f3caea9:/include/wx/textdlg.h?ds=sidebyside diff --git a/include/wx/textdlg.h b/include/wx/textdlg.h index 4404fe1435..9fe13dda44 100644 --- a/include/wx/textdlg.h +++ b/include/wx/textdlg.h @@ -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_