]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
enabled toolbar as it works now
[wxWidgets.git] / include / wx / msw / winundef.h
index e83f34baa64ec0f1757a3079aada60b2eccc0f24..2a63c4864b37fc377341d91354047bfd56f430ae 100644 (file)
     }
 #endif
 
+// LoadMenu
+
+#ifdef LoadMenu
+    #undef LoadMenu
+
+    inline HMENU LoadMenu(HINSTANCE instance, LPCTSTR name)
+    {
+        #ifdef _UNICODE
+            return LoadMenuW(instance, name);
+        #else
+            return LoadMenuA(instance, name);
+        #endif
+    }
+#endif
+
 // GetCharWidth
 
 #ifdef GetCharWidth