X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..d2fdd8d2af20f032b26562fc5eb0af2c85d5c8b6:/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_