]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
More WinCE mods
[wxWidgets.git] / include / wx / msw / winundef.h
index 905e0a443887f9253201c7c639e102e4534d30cc..6c0b049f299472acc38d775d7017f90cc226fb08 100644 (file)
     }
 #endif // LoadIcon
 
     }
 #endif // LoadIcon
 
+// LoadBitmap
+#ifdef LoadBitmap
+    #undef LoadBitmap
+    inline HBITMAP LoadBitmap(HINSTANCE hInstance, LPCTSTR lpBitmapName)
+    {
+        #ifdef _UNICODE
+            return LoadBitmapW(hInstance, lpBitmapName);
+        #else // ANSI
+            return LoadBitmapA(hInstance, lpBitmapName);
+        #endif // Unicode/ANSI
+    }
+#endif // LoadBitmap
 
 // LoadLibrary
 
 
 // LoadLibrary