Removed wxTE_READONLY style from multi-line wxTextCtrls in combo and propgrid samples (looks a bit better that way on wxMSW)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-10-13 14:34:47 +00:00
parent f115ff4a4f
commit cd644aa10f
2 changed files with 12 additions and 9 deletions

View File

@@ -743,11 +743,12 @@ MyFrame::MyFrame(const wxString& title)
wxPanel* panel = new wxPanel(this);
// Prepare log window right away since it shows EVT_TEXTs
m_logWin = new wxTextCtrl( panel, 105, wxEmptyString, wxDefaultPosition,
wxSize(-1,125), wxTE_MULTILINE|wxFULL_REPAINT_ON_RESIZE );
m_logWin->SetEditable(false);
wxLogTextCtrl* logger = new wxLogTextCtrl( m_logWin );
m_logOld = logger->SetActiveTarget( logger );
m_logWin = new wxTextCtrl(panel, 105, wxEmptyString,
wxDefaultPosition,
wxSize(-1, 125),
wxTE_MULTILINE);
wxLogTextCtrl* logger = new wxLogTextCtrl(m_logWin);
m_logOld = logger->SetActiveTarget(logger);
logger->DisableTimestamp();