From: <mie...@us...> - 2011-01-15 18:04:02
|
Revision: 6590 http://oorexx.svn.sourceforge.net/oorexx/?rev=6590&view=rev Author: miesfeld Date: 2011-01-15 18:03:56 +0000 (Sat, 15 Jan 2011) Log Message: ----------- ooDialog - a little code clean up Modified Paths: -------------- main/trunk/extensions/platform/windows/oodialog/oodMessaging.cpp Modified: main/trunk/extensions/platform/windows/oodialog/oodMessaging.cpp =================================================================== --- main/trunk/extensions/platform/windows/oodialog/oodMessaging.cpp 2011-01-15 18:03:12 UTC (rev 6589) +++ main/trunk/extensions/platform/windows/oodialog/oodMessaging.cpp 2011-01-15 18:03:56 UTC (rev 6590) @@ -944,7 +944,7 @@ * accelerators, it is always 0. So, converting to a pseudo pointer is always * the correct thing to do. */ -inline MsgReplyType genericCommandInvoke(RexxThreadContext *c, pCPlainBaseDialog pcpbd, CSTRING methodName, +static MsgReplyType genericCommandInvoke(RexxThreadContext *c, pCPlainBaseDialog pcpbd, CSTRING methodName, uint32_t tag, WPARAM wParam, LPARAM lParam) { RexxArrayObject args = c->ArrayOfTwo(c->Uintptr(wParam), pointer2string(c, (void *)lParam)); @@ -1102,7 +1102,7 @@ for ( i = 0; i < tableSize; i++ ) { - if ( ((wParam & m[i].wpFilter) == m[i].wParam) && ((lParam & m[i].lpfilter) == (uint32_t)m[i].lParam) ) + if ( ((wParam & m[i].wpFilter) == m[i].wParam) && ((lParam & m[i].lpfilter) == m[i].lParam) ) { return genericCommandInvoke(pcpbd->dlgProcContext, pcpbd, m[i].rexxMethod, m[i].tag, wParam, lParam); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |