From 44e1a03ff3a21cfe884946800b11b70ddf0fb162 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 21 Aug 2002 15:58:49 +0000 Subject: [PATCH] Applied patch [ 598173 ] Fixes erroneous logging notebook sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/notebook/notebook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.45.2