From 476607a777ec5328804da0564364b70128725647 Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 2 Nov 1999 22:41:55 +0000 Subject: [PATCH] Updates for VA 4.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/frame.cpp | 2 +- src/os2/gsocket.c | 6 +++--- src/os2/makefile.va | 9 ++++++--- src/os2/mdi.cpp | 2 +- src/os2/utils.cpp | 1 - 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index e15c049b13..3464ed3300 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -685,7 +685,7 @@ bool wxFrame::ProcessCommand(int id) if ( !bar ) return FALSE; - wxMenuItem *item = bar->FindItemForId(id); + wxMenuItem *item = bar->FindItem(id); if ( item && item->IsCheckable() ) { diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 4f53fa5fc0..85ea3a2313 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -14,15 +14,15 @@ #define BSD_SELECT // use Berkley Sockets select #include -#include +#include #include -#include +#include #include #include #include #include #include -#include +#include #include #include diff --git a/src/os2/makefile.va b/src/os2/makefile.va index cde236d408..aee9ec8309 100644 --- a/src/os2/makefile.va +++ b/src/os2/makefile.va @@ -220,6 +220,7 @@ COMMONOBJS = \ ..\common\$D\longlong.obj \ ..\common\$D\matrix.obj \ ..\common\$D\memory.obj \ + ..\common\$D\menucmn.obj \ ..\common\$D\mimetype.obj \ ..\common\$D\module.obj \ ..\common\$D\mstream.obj \ @@ -319,6 +320,7 @@ COMLIBOBJS2 = \ longlong.obj \ matrix.obj \ memory.obj \ + menucmn.obj \ mimetype.obj \ module.obj \ mstream.obj \ @@ -352,10 +354,10 @@ COMLIBOBJS2 = \ url.obj \ utilscmn.obj \ valgen.obj \ - validate.obj \ - valtext.obj + validate.obj COMLIBOBJS3 = \ + valtext.obj \ variant.obj \ wfstream.obj \ wincmn.obj \ @@ -622,6 +624,7 @@ $(COMLIBOBJS2): copy ..\common\$D\longlong.obj copy ..\common\$D\matrix.obj copy ..\common\$D\memory.obj + copy ..\common\$D\menucmn.obj copy ..\common\$D\mimetype.obj copy ..\common\$D\module.obj copy ..\common\$D\mstream.obj @@ -656,9 +659,9 @@ $(COMLIBOBJS2): copy ..\common\$D\utilscmn.obj copy ..\common\$D\valgen.obj copy ..\common\$D\validate.obj - copy ..\common\$D\valtext.obj $(COMLIBOBJS3): + copy ..\common\$D\valtext.obj copy ..\common\$D\variant.obj copy ..\common\$D\wfstream.obj copy ..\common\$D\wincmn.obj diff --git a/src/os2/mdi.cpp b/src/os2/mdi.cpp index b30e8d41d7..33756f0792 100644 --- a/src/os2/mdi.cpp +++ b/src/os2/mdi.cpp @@ -910,7 +910,7 @@ bool wxMDIChildFrame::HandleCommand(WXWORD id, WXWORD cmd, WXHWND hwnd) // return TRUE; } - if (GetMenuBar() && GetMenuBar()->FindItemForId(id)) + if (GetMenuBar() && GetMenuBar()->FindItem(id)) { ProcessCommand(id); return TRUE; diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 12f65cee2a..abea758038 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -40,7 +40,6 @@ #define INCL_PM #define INCL_GPI #include -#include #define PURE_32 #include #include -- 2.45.2