X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/810f173e8d7f580c612f202aab2a01003c3fb834..e970653a2d44003d5a21171a27707341771c5c4c:/src/msw/tbarmsw.cpp?ds=sidebyside diff --git a/src/msw/tbarmsw.cpp b/src/msw/tbarmsw.cpp index 2db4053acf..f558a94b80 100644 --- a/src/msw/tbarmsw.cpp +++ b/src/msw/tbarmsw.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "tbarmsw.h" #endif @@ -1103,7 +1103,7 @@ WXHBITMAP wxToolBar::CreateMappedBitmap(WXHINSTANCE hInstance, WXHBITMAP hBitmap if ( !hDIB ) return 0; - WXHBITMAP newBitmap = CreateMappedBitmap(hInstance, GlobalHandle(hDIB)); + WXHBITMAP newBitmap = CreateMappedBitmap(hInstance, GlobalPtr(hDIB)); GlobalFree(hDIB);