X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89efaf2b6595e59af618556d7e79492cab50c73c..2d14a14c573db4b8f8959b1460a269cf23defbcf:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 8be0ac0ffe..fcb7e82281 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -219,7 +219,7 @@ private: COLORREF m_oldColFg, m_oldColBg; - DECLARE_NO_COPY_CLASS(wxTextColoursChanger) + wxDECLARE_NO_COPY_CLASS(wxTextColoursChanger); }; // background mode @@ -259,7 +259,7 @@ private: const HDC m_hdc; int m_oldMode; - DECLARE_NO_COPY_CLASS(wxBkModeChanger) + wxDECLARE_NO_COPY_CLASS(wxBkModeChanger); }; // instead of duplicating the same code which sets and then restores text @@ -275,7 +275,7 @@ public: wxBrushAttrsSetter(wxMSWDCImpl& dc); private: - DECLARE_NO_COPY_CLASS(wxBrushAttrsSetter) + wxDECLARE_NO_COPY_CLASS(wxBrushAttrsSetter); }; // this class saves the old stretch blit mode during its life time @@ -306,7 +306,7 @@ private: int m_modeOld; - DECLARE_NO_COPY_CLASS(StretchBltModeChanger) + wxDECLARE_NO_COPY_CLASS(StretchBltModeChanger); }; #if wxUSE_DYNLIB_CLASS @@ -1722,7 +1722,7 @@ void wxMSWDCImpl::SetRop(WXHDC dc) if ( !dc || m_logicalFunction < 0 ) return; - int rop; + int rop wxDUMMY_INITIALIZE(0); switch (m_logicalFunction) {