X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c369d4f116d652a2d51dae88598135c2db3f14dd..232ba4c3329127a3ae57e37dc088513d06fe436f:/src/xrc/xmlres.cpp diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index b6f24ced63..197ea98480 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -19,6 +19,8 @@ #pragma hdrstop #endif +#if wxUSE_XRC + #include "wx/dialog.h" #include "wx/panel.h" #include "wx/frame.h" @@ -1427,3 +1429,5 @@ void wxXmlInitResourceModule() module->Init(); wxModule::RegisterModule(module); } + +#endif // wxUSE_XRC