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:
@@ -164,10 +164,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxChar *windowClass = _T("EDIT");
|
||||
|
||||
#if wxUSE_RICHEDIT
|
||||
// multiline edit controls are RICHEDITs except for those which have a
|
||||
// simple border (VZ: why??)
|
||||
if ( (m_windowStyle & wxTE_MULTILINE) &&
|
||||
!(m_windowStyle & wxSIMPLE_BORDER) )
|
||||
if ( m_windowStyle & wxTE_RICH )
|
||||
{
|
||||
msStyle |= ES_AUTOVSCROLL;
|
||||
m_isRich = TRUE;
|
||||
|
Reference in New Issue
Block a user