diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 22:09:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 08:46:55 +0100 |
commit | 09682385170c87bef001186797fe287849aea5d6 (patch) | |
tree | 92dfd7bb46152c2a0be7d982009ef10aeb066372 /embedserv/source/embed | |
parent | 63915326cb8fccca47a265abfca351a555c865f5 (diff) |
Expand single use of SendCommand macro
Change-Id: I8af259f55e8fc318ccdbc69bba00ae0d7d3aacdb
Diffstat (limited to 'embedserv/source/embed')
-rw-r--r-- | embedserv/source/embed/syswinwrapper.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/embedserv/source/embed/syswinwrapper.cxx b/embedserv/source/embed/syswinwrapper.cxx index d493dd93218b..424b24f98310 100644 --- a/embedserv/source/embed/syswinwrapper.cxx +++ b/embedserv/source/embed/syswinwrapper.cxx @@ -41,10 +41,6 @@ using namespace winwrap; #define HWN_BORDERDOUBLECLICKED 1 #define CBHATCHWNDEXTRA (sizeof(LONG)) #define SZCLASSHATCHWIN TEXT("hatchwin") -#define SendCommand(hWnd, wID, wCode, hControl) \ - SendMessage(hWnd, WM_COMMAND, MAKEWPARAM(wID, wCode) \ - , (LPARAM)hControl) - typedef CHatchWin *PCHatchWin; @@ -448,8 +444,10 @@ LRESULT APIENTRY winwrap::HatchWndProc( */ if (NULL!=phw->m_hWndAssociate) { - SendCommand(phw->m_hWndAssociate, phw->m_uID - , HWN_BORDERDOUBLECLICKED, hWnd); + SendMessage( + phw->m_hWndAssociate, WM_COMMAND, + MAKEWPARAM(phw->m_uID, HWN_BORDERDOUBLECLICKED), + (LPARAM) hWnd); } break; |