]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sound/sound.cpp
wxUSE_LOG fixes and sizer adjustements related to positioning with/without LOG output.
[wxWidgets.git] / samples / sound / sound.cpp
index 6c50b7c3f950b497b881045d404225e170075e4e..8964f6dbc4acf0c24b5bec919cc5861e4d4a4b75 100644 (file)
@@ -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);