X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa92c3988019ad6fdf5000d1754c317373553412..c663fbea6851207b4e0ac3e362868c23b1494a46:/samples/sound/sound.cpp diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index f1d3fa96d5..985db5ee52 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -180,7 +180,8 @@ MyFrame::MyFrame(const wxString& title) // ... and attach this menu bar to the frame SetMenuBar(menuBar); - m_tc = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxDefaultSize, + m_tc = new wxTextCtrl(this, -1, wxEmptyString, + wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY); NotifyUsingFile(m_soundFile); }