X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..8f9d20d16f54a088aea5fb5e826bf1690efac2ff:/src/os2/bitmap.cpp diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index 86cc725f33..8c93cc751f 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -6,7 +6,7 @@ // Created: 08/08/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -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