X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3957448a34ce9f4860051ba292b35ad70f8fb9db..d2c7015bf07982c3b9c3e8ca62b326e589f95e46:/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();