]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 598173 ] Fixes erroneous logging notebook sample
authorJulian Smart <julian@anthemion.co.uk>
Wed, 21 Aug 2002 15:58:49 +0000 (15:58 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 21 Aug 2002 15:58:49 +0000 (15:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/notebook/notebook.cpp

index 9bfb7e09308d2b440c76875c751eae5f06ac1a7b..8625be4de89ed856bca06ddaa16c45ea251c7ba3 100644 (file)
@@ -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();