X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad6bd8701eda692b5fcf6f833e041c38756c608a..f68535b0a71224f6da88857e530607c12cd280eb:/src/os2/dcmemory.cpp diff --git a/src/os2/dcmemory.cpp b/src/os2/dcmemory.cpp index 5e2ed33694..95c5e30a56 100644 --- a/src/os2/dcmemory.cpp +++ b/src/os2/dcmemory.cpp @@ -81,7 +81,7 @@ bool wxMemoryDC::CreateCompatible( m_ok = TRUE; m_bOwnsDC = TRUE; // - // Set the wxWindows color table + // Set the wxWidgets color table // ::GpiCreateLogColorTable( m_hPS ,0L @@ -153,9 +153,10 @@ void wxMemoryDC::SelectObject( // // Bmps drawn to are upside down, so flip it before committing // - POINTL vPoint[4] = { 0, m_vSelectedBitmap.GetHeight(), - m_vSelectedBitmap.GetWidth(), 0, - 0, 0, m_vSelectedBitmap.GetWidth(), m_vSelectedBitmap.GetHeight() + POINTL vPoint[4] = { {0, m_vSelectedBitmap.GetHeight()} + ,{m_vSelectedBitmap.GetWidth(), 0} + ,{0, 0} + ,{m_vSelectedBitmap.GetWidth(), m_vSelectedBitmap.GetHeight()} };