diff --git a/include/wx/pen.h b/include/wx/pen.h index a54adbec3f..ae92018255 100644 --- a/include/wx/pen.h +++ b/include/wx/pen.h @@ -14,6 +14,10 @@ #include "wx/defs.h" +#if WXWIN_COMPATIBILITY_2_8 +#include "wx/brush.h" // needed for some deprecated declarations +#endif + enum wxPenStyle { #if WXWIN_COMPATIBILITY_2_8