]>
Commit | Line | Data |
---|---|---|
1 | #ifndef _WX_TEXTDLG_H_BASE_ | |
2 | #define _WX_TEXTDLG_H_BASE_ | |
3 | ||
4 | #ifdef __WXGTK__ | |
5 | #include "wx/gtk/textdlg.h" | |
6 | #else | |
7 | #include "wx/generic/textdlgg.h" | |
8 | #endif | |
9 | ||
10 | // ---------------------------------------------------------------------------- | |
11 | // function to get a number from user | |
12 | // ---------------------------------------------------------------------------- | |
13 | ||
14 | long WXDLLEXPORT | |
15 | wxGetNumberFromUser(const wxString& message, | |
16 | const wxString& prompt, | |
17 | const wxString& caption, | |
18 | long value = 0, | |
19 | long min = 0, | |
20 | long max = 100, | |
21 | wxWindow *parent = (wxWindow *)NULL, | |
22 | const wxPoint& pos = wxDefaultPosition); | |
23 | ||
24 | #endif | |
25 | // _WX_TEXTDLG_H_BASE_ |