X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12d85b0e0222f2d9be8048d028fe27ee078a9d76..ec02a2f7de3d6f4e11c4dd72bf69c33fcc49ba84:/src/xrc/xh_slidr.cpp?ds=sidebyside diff --git a/src/xrc/xh_slidr.cpp b/src/xrc/xh_slidr.cpp index 3a787c4283..c34926df31 100644 --- a/src/xrc/xh_slidr.cpp +++ b/src/xrc/xh_slidr.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_slidr.cpp +// Name: src/xrc/xh_slidr.cpp // Purpose: XRC resource for wxSlider // Author: Bob Mitchell // Created: 2000/03/21 @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "xh_slidr.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -22,12 +18,15 @@ #if wxUSE_XRC && wxUSE_SLIDER #include "wx/xrc/xh_slidr.h" -#include "wx/slider.h" + +#ifndef WX_PRECOMP + #include "wx/slider.h" +#endif IMPLEMENT_DYNAMIC_CLASS(wxSliderXmlHandler, wxXmlResourceHandler) wxSliderXmlHandler::wxSliderXmlHandler() -: wxXmlResourceHandler() + :wxXmlResourceHandler() { XRC_ADD_STYLE(wxSL_HORIZONTAL); XRC_ADD_STYLE(wxSL_VERTICAL);