projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1872c1
)
#undef LoadIcon() too
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 5 Jan 2003 22:11:24 +0000
(22:11 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 5 Jan 2003 22:11:24 +0000
(22:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
include/wx/msw/winundef.h
patch
|
blob
|
blame
|
history
diff --git
a/include/wx/msw/winundef.h
b/include/wx/msw/winundef.h
index aee51d4b515d6f3a281bbbbee6b637336c5c793a..d9eb7c339d872885342860e483004e790586ca03 100644
(file)
--- a/
include/wx/msw/winundef.h
+++ b/
include/wx/msw/winundef.h
@@
-252,6
+252,20
@@
}
#endif
+// LoadIcon
+#ifdef LoadIcon
+ #undef LoadIcon
+ inline HINSTANCE LoadIcon(HINSTANCE hInstance, LPCTSTR lpIconName)
+ {
+ #ifdef _UNICODE
+ return LoadIconW(hInstance, lpIconName);
+ #else // ANSI
+ return LoadIconA(hInstance, lpIconName);
+ #endif // Unicode/ANSI
+ }
+#endif // LoadIcon
+
+
// LoadLibrary
#ifdef LoadLibrary