diff --git a/contrib/src/xrc/xh_frame.cpp b/contrib/src/xrc/xh_frame.cpp index 7d4380076f..520b265ca6 100644 --- a/contrib/src/xrc/xh_frame.cpp +++ b/contrib/src/xrc/xh_frame.cpp @@ -21,6 +21,7 @@ #include "wx/xrc/xh_frame.h" #include "wx/frame.h" +#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE #include "wx/log.h" #include "wx/intl.h" diff --git a/contrib/src/xrc/xh_panel.cpp b/contrib/src/xrc/xh_panel.cpp index d71a11d752..b4b4c82810 100644 --- a/contrib/src/xrc/xh_panel.cpp +++ b/contrib/src/xrc/xh_panel.cpp @@ -21,6 +21,7 @@ #include "wx/xrc/xh_panel.h" #include "wx/panel.h" +#include "wx/frame.h" // to get wxNO_3D IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler) diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index 7d4380076f..520b265ca6 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -21,6 +21,7 @@ #include "wx/xrc/xh_frame.h" #include "wx/frame.h" +#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE #include "wx/log.h" #include "wx/intl.h" diff --git a/src/xrc/xh_panel.cpp b/src/xrc/xh_panel.cpp index d71a11d752..b4b4c82810 100644 --- a/src/xrc/xh_panel.cpp +++ b/src/xrc/xh_panel.cpp @@ -21,6 +21,7 @@ #include "wx/xrc/xh_panel.h" #include "wx/panel.h" +#include "wx/frame.h" // to get wxNO_3D IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler)