log textctrl should be readonly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5262eb0a98
commit
309824154b
@ -733,7 +733,9 @@ END_EVENT_TABLE()
|
||||
MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
||||
: wxPanel( frame, -1, wxPoint(x, y), wxSize(w, h) )
|
||||
{
|
||||
m_log = new wxTextCtrl( this, -1, "This is the log window.\n", wxPoint(5,260), wxSize(630,100), wxTE_MULTILINE );
|
||||
m_log = new wxTextCtrl( this, -1, "This is the log window.\n",
|
||||
wxPoint(5,260), wxSize(630,100),
|
||||
wxTE_MULTILINE | wxTE_READONLY /* | wxTE_RICH */);
|
||||
|
||||
wxLog *old_log = wxLog::SetActiveTarget( new wxLogTextCtrl( m_log ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user