X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3957448a34ce9f4860051ba292b35ad70f8fb9db..d38e8d5f34262fa688cd0e5d397a2201978e5fa7:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 9bfb7e0930..8625be4de8 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -525,7 +525,7 @@ void MyFrame::OnNotebook(wxNotebookEvent& event) static int s_numNotebookEvents = 0; wxLogMessage(wxT("Notebook event #%d: %s (%d)"), - s_numNotebookEvents++, str, eventType); + s_numNotebookEvents++, str.c_str(), eventType); m_text->SetInsertionPointEnd();