]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/winundef.h
Reworked Frame class
[wxWidgets.git] / include / wx / msw / winundef.h
index 04ab36ae4da5f713142a207114ec0ba721ef270b..e580f2465070e6e03dd274880b0da3bf979f3a88 100644 (file)
     }
 #endif
 
+// FindResource
+#ifdef FindResource
+    #undef FindResource
+    inline HRSRC FindResource(HMODULE hModule, LPCTSTR lpName, LPCTSTR lpType)
+    {
+    #ifdef _UNICODE
+        return FindResourceW(hModule, lpName, lpType);
+    #else
+        return FindResourceA(hModule, lpName, lpType);
+    #endif
+    }
+#endif
+
 // IsMaximized
 
 #ifdef IsMaximized