1. added wxGetNumberFromUser (to textdlgg.cpp and dialogs sample)
2. wxTE_RICH style added to wxMSW, the text controls don't use RICHEDIT class by default any more 3. wxRadioBox doesn't generate button events any more (grrr...) 4. commented out code in log.cpp restored and a bug corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,6 +52,10 @@ private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// functions to get a string or a number from user
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxString WXDLLEXPORT
|
||||
wxGetTextFromUser(const wxString& message,
|
||||
const wxString& caption = wxGetTextFromUserPromptStr,
|
||||
@@ -61,5 +65,15 @@ wxGetTextFromUser(const wxString& message,
|
||||
int y = -1,
|
||||
bool centre = TRUE);
|
||||
|
||||
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_G__
|
||||
|
Reference in New Issue
Block a user