]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/debugrpt/debugrpt.cpp
compilation fix for wxUSE_DBGHELP==0 after latest changes
[wxWidgets.git] / samples / debugrpt / debugrpt.cpp
index 4de12cb5a759f7a8c37a5679fbcf83f42c3fb3df..1125ff6cfa797cd6c7b8591ea43417199e4d95ca 100644 (file)
@@ -16,6 +16,7 @@
 #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"
@@ -124,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)