projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e33e3
)
Added GetMessage to those that are undef'ed and reimplemented as
author
Robin Dunn
<robin@alldunn.com>
Mon, 7 Jun 1999 21:29:10 +0000
(21:29 +0000)
committer
Robin Dunn
<robin@alldunn.com>
Mon, 7 Jun 1999 21:29:10 +0000
(21:29 +0000)
inlines for wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2703
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 3d657f4c21f063befc26cada049bce2a2f2eea54..25bcb7d67ed6a1dba616b5a9dca4becf384b5440 100644
(file)
--- a/
include/wx/msw/winundef.h
+++ b/
include/wx/msw/winundef.h
@@
-144,7
+144,20
@@
return GetObjectW(h, i, buffer);
#else
return GetObjectA(h, i, buffer);
- #endif
+ #endif
+ }
+#endif
+
+
+#ifdef GetMessage
+ #undef GetMessage
+ inline int GetMessage(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax)
+ {
+ #ifdef _UNICODE
+ return GetMessageW(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
+ #else
+ return GetMessageA(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax);
+ #endif
}
#endif