Use the form:
#include <wx/wx.h> #include <wx/button.h>For precompiled header support, use this form:
// For compilers that support precompilation, includes "wx.h". #include <wx/wxprec.h> #ifdef __BORLANDC__ #pragma hdrstop #endif // Any files you want to include if not precompiling by including // the whole of <wx/wx.h> #ifndef WX_PRECOMP #include <stdio.h> #include <wx/setup.h> #include <wx/bitmap.h> #include <wx/brush.h> #endif // Any files you want to include regardless of precompiled headers #include <wx/toolbar.h>