From: Stefan Neis Date: Sun, 22 Feb 2009 19:09:49 +0000 (+0000) Subject: Various compilation fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e39b5fa45715cd6ccc011305ea247b5d85f36a8d?ds=inline Various compilation fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/evtloop.cpp b/src/os2/evtloop.cpp index 9399da2c82..4525143553 100644 --- a/src/os2/evtloop.cpp +++ b/src/os2/evtloop.cpp @@ -402,9 +402,10 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess) // If they are pending events, we must process them. // if (wxTheApp) + { wxTheApp->ProcessPendingEvents(); - - HandleSockets(); + wxTheApp->HandleSockets(); + } // // Let the logs be flashed again diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 24887d4bf5..8fc737333e 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -23,6 +23,7 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/msgdlg.h" + #include "wx/filename.h" #include "wx/intl.h" #include "wx/log.h" #include "wx/app.h" diff --git a/src/os2/region.cpp b/src/os2/region.cpp index 4e6760d6d7..f84c63dde2 100644 --- a/src/os2/region.cpp +++ b/src/os2/region.cpp @@ -221,7 +221,7 @@ wxRegion::wxRegion(const wxRect& rRect) ); } // end of wxRegion::wxRegion -wxRegion::wxRegion(size_t n, const wxPoint *points, int WXUNUSED(fillStyle)) +wxRegion::wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode WXUNUSED(fillStyle)) { // TO DO }