X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/810f173e8d7f580c612f202aab2a01003c3fb834..56f69d54faea99a58828c2077c42fccc1303e490:/src/msw/tbarmsw.cpp diff --git a/src/msw/tbarmsw.cpp b/src/msw/tbarmsw.cpp index 2db4053acf..d166b81736 100644 --- a/src/msw/tbarmsw.cpp +++ b/src/msw/tbarmsw.cpp @@ -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);