]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbarmsw.cpp
MinGW compilation fixes.
[wxWidgets.git] / src / msw / tbarmsw.cpp
index 2db4053acfa7c21dbd304bf6b41ecab58dd7f029..f558a94b804fff348fb20dbfdb8321d66ec71637 100644 (file)
@@ -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);