Some OS/2 updates for VA3.0, specifically, in gsocket

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-11-15 04:59:08 +00:00
parent 86b3203fb1
commit e15bbde041
2 changed files with 22 additions and 6 deletions

View File

@@ -187,11 +187,22 @@ bool wxAcceleratorTable::Translate(
) const ) const
{ {
PQMSG pMsg = (PQMSG)pWxmsg; PQMSG pMsg = (PQMSG)pWxmsg;
BOOL rc = FALSE;
return Ok() && ::WinTranslateAccel( vHabmain rc = ::WinTranslateAccel( vHabmain
,(HWND)hWnd ,(HWND)hWnd
,GetHaccel() ,GetHaccel()
,pMsg ,pMsg
); );
if (rc)
{
int x = 1;
}
return (Ok() && rc);
// ::WinTranslateAccel( vHabmain
// ,(HWND)hWnd
// ,GetHaccel()
// ,pMsg
// );
} // end of wxAcceleratorTable::Translate } // end of wxAcceleratorTable::Translate

View File

@@ -57,7 +57,12 @@ int _System soclose(int);
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
//#include <stdlib.h> #if defined(__VISAGECPP__) && __IBMCPP__ < 400
# ifdef min
# undef min
# endif
# include <stdlib.h>
#endif
#include <stddef.h> #include <stddef.h>
#include <ctype.h> #include <ctype.h>