X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e74d03b7f4dec5b7f254192541f72182c7558b9..fb2e90c1745beb2c1db7bba7cf35587be392c819:/src/mac/bitmap.cpp diff --git a/src/mac/bitmap.cpp b/src/mac/bitmap.cpp index 7ef70887d6..84b1bae5c1 100644 --- a/src/mac/bitmap.cpp +++ b/src/mac/bitmap.cpp @@ -445,7 +445,7 @@ wxBitmap::wxBitmap(const char bits[], int the_width, int the_height, int no_bits if ( no_bits == 1 ) { M_BITMAPDATA->m_bitmapType = kMacBitmapTypeGrafWorld ; - MAC_WXHBITMAP(M_BITMAPDATA->m_hBitmap) = wxMacCreateGWorld( the_width , the_height , no_bits ) ; + M_BITMAPDATA->m_hBitmap = wxMacCreateGWorld( the_width , the_height , no_bits ) ; M_BITMAPDATA->m_ok = (MAC_WXHBITMAP(M_BITMAPDATA->m_hBitmap) != NULL ) ; CGrafPtr origPort ;