X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad6bd8701eda692b5fcf6f833e041c38756c608a..d5e64615977c6839abe565919e8da50ffda40604:/src/os2/dcmemory.cpp?ds=sidebyside diff --git a/src/os2/dcmemory.cpp b/src/os2/dcmemory.cpp index 5e2ed33694..a86c96edf6 100644 --- a/src/os2/dcmemory.cpp +++ b/src/os2/dcmemory.cpp @@ -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()} };