X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..d098a3572c1812d7a976582a59bf29e529c8a424:/include/wx/textdlg.h 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_