X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..b29903d4854625650ae678c0515acc76facba1ee:/samples/sound/sound.cpp diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index 6c50b7c3f9..8964f6dbc4 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -180,7 +180,7 @@ MyFrame::MyFrame(const wxString& title) // ... and attach this menu bar to the frame SetMenuBar(menuBar); - m_tc = new wxTextCtrl(this, -1, wxEmptyString, + m_tc = new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY); NotifyUsingFile(m_soundFile);