]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
wxNotebook::HitTest() for wxMSW added (patch 748469)
[wxWidgets.git] / include / wx / msw / winundef.h
index a3f6a6c99dc6642a293cc4931b4139017b2ac974..6c0b049f299472acc38d775d7017f90cc226fb08 100644 (file)
     }
 #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
 
 
 // For WINE
 
-#if defined(GetWindowStyle) || defined(__WXWINE__)
+#if defined(GetWindowStyle)
   #undef GetWindowStyle
 #endif