Hide private StretchBltModeChanger class in unnamed namespace

No real changes, just put this non-wx-prefixed class in an unnamed
namespace to avoid any clashes with user-defined classes (which would be
possible when using wx as a static library).
This commit is contained in:
Vadim Zeitlin
2022-04-30 21:03:13 +01:00
parent 481b73d14c
commit 5157a8a62c

View File

@@ -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
// ===========================================================================