diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index c950b2b90b..3a048895bf 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -404,6 +404,9 @@ private: wxDECLARE_NO_COPY_CLASS(wxBrushAttrsSetter); }; +namespace +{ + // this class sets the stretch blit mode to COLORONCOLOR during its lifetime class StretchBltModeChanger { @@ -434,6 +437,8 @@ private: wxDECLARE_NO_COPY_CLASS(StretchBltModeChanger); }; +} // anonymous namespace + // =========================================================================== // implementation // ===========================================================================