]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/debugrpt/debugrpt.cpp
don't use deprecated toolbar API
[wxWidgets.git] / samples / debugrpt / debugrpt.cpp
index ff6266a57fa6cff3b5a2fcf737b441b0000f2f59..1125ff6cfa797cd6c7b8591ea43417199e4d95ca 100644 (file)
@@ -14,7 +14,9 @@
 // ----------------------------------------------------------------------------
 
 #include "wx/app.h"
+#include "wx/log.h"
 #include "wx/frame.h"
+#include "wx/icon.h"
 #include "wx/menu.h"
 #include "wx/msgdlg.h"
 #include "wx/button.h"
@@ -123,7 +125,7 @@ static void bar(const wxChar *p)
 
 void baz(const wxString& s)
 {
-    printf("baz: %s\n", s.c_str());
+    printf("baz: %s\n", (const char*)s.c_str());
 }
 
 void foo(int n)