X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8f9d20d16f54a088aea5fb5e826bf1690efac2ff:/src/os2/bitmap.cpp diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index 9d81414df6..8c93cc751f 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -860,7 +860,7 @@ wxImage wxBitmap::ConvertToImage() const HBITMAP hOldBitmap; DEVOPENSTRUC vDop = {0L, "DISPLAY", NULL, 0L, 0L, 0L, 0L, 0L, 0L}; SIZEL vSizlPage = {0,0}; - HDC hDCMem; + HDC hDCMem = NULLHANDLE;; vImage.Create( nWidth ,nHeight