X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..0d1903dbda864780eec30efdc4e91776bdbfd21b:/src/xrc/xh_stbmp.cpp diff --git a/src/xrc/xh_stbmp.cpp b/src/xrc/xh_stbmp.cpp index d7e7b9bc95..d298a37601 100644 --- a/src/xrc/xh_stbmp.cpp +++ b/src/xrc/xh_stbmp.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_stbmp.cpp +// Name: src/xrc/xh_stbmp.cpp // Purpose: XRC resource for wxStaticBitmap // Author: Vaclav Slavik // Created: 2000/04/22 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -15,15 +14,18 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_STATBMP #include "wx/xrc/xh_stbmp.h" -#include "wx/statbmp.h" + +#ifndef WX_PRECOMP + #include "wx/statbmp.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmapXmlHandler, wxXmlResourceHandler) wxStaticBitmapXmlHandler::wxStaticBitmapXmlHandler() -: wxXmlResourceHandler() + :wxXmlResourceHandler() { AddWindowStyles(); } @@ -49,4 +51,4 @@ bool wxStaticBitmapXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxStaticBitmap")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_STATBMP