Since Code::Blocks now uses the new 'wxFlatNotebook' a little patch for wxSmith is necessary:
$ svn diff src/plugins/contrib/wxSmith/
Index: src/plugins/contrib/wxSmith/wxsmith.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxsmith.cpp (revision 1662)
+++ src/plugins/contrib/wxSmith/wxsmith.cpp (working copy)
@@ -14,7 +14,7 @@
#include <messagemanager.h>
#include <cbeditor.h>
#include <projectmanager.h>
-#include <wx/notebook.h>
+#include <wxFlatNotebook/wxFlatNotebook.h>
#include <wx/sashwin.h>
#include <configmanager.h>
#include <cbexception.h>
@@ -90,7 +90,7 @@
void wxSmith::OnAttach()
{
- wxNotebook* Notebook = Manager::Get()->GetNotebook();
+ wxFlatNotebook* Notebook = Manager::Get()->GetProjectManager()->GetNotebook();
if ( Notebook )
{
// Creating main splitting objects
I didn't test if it really works and I'm absolutely not sure if using 'GetProjectManager' is correct here - but at least it compiles again. ;)