Two patches that I have applied today to my copy of wxWidgets 2.8 branch.
--- a/src/msw/utilsexc.cpp
+++ b/src/msw/utilsexc.cpp
@@ -879,7 +879,7 @@ long wxExecute(const wxString& cmd, int flags, wxProcess *handler)
wxFAIL_MSG( _T("unexpected WaitForInputIdle() return code") );
// fall through
- case -1:
+ case WAIT_FAILED:
wxLogLastError(_T("WaitForInputIdle() in wxExecute"));
case WAIT_TIMEOUT:
--
--- a/src/msw/mediactrl_am.cpp
+++ b/src/msw/mediactrl_am.cpp
@@ -2179,7 +2179,7 @@ void wxAMMediaBackend::Move(int WXUNUSED(x), int WXUNUSED(y),
//---------------------------------------------------------------------------
void wxAMMediaEvtHandler::OnActiveX(wxActiveXEvent& event)
{
- switch(event.GetDispatchId())
+ switch(static_cast<unsigned long>(event.GetDispatchId()))
{
#ifndef __WXWINCE__
case 0x00000001: // statechange in IActiveMovie
--
The changes are what I saw in wxWidgets master branch.
Tim S.
Brilliant, I shall give it a look, Thank you for taking the time todo this Tim I greately appreciate this :D
Edit: Just to confirm Tim in order to get it to build for me, Will I need to use the same settings as before, WxWidgets 2.8x and compiled using /makefile.gcc on CMD with the command
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean
Then without the clean, Then same for the Debug build?
That is not the correct setting for what you are trying to build!
From memory this should work; but, I did not use that.
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release
I added these options; the "USE_ODBC=1" was added for this project; I do not think it was needed so you likely can build without it just remove the ODBC library from the CB Project; but, since I had no idea if the project needed it or not I built the wxWidgets to match the CB Project file.
The "USE_OPENGL=1" was added just because other people add it and it is not needed for your CB project.
CXXFLAGS=-std=gnu++11 CPPFLAGS=-D_WIN32_IE=0x0603 USE_OPENGL=1 USE_ODBC=1
The other options I added because in the past building wxWidgets 2.8.x required them; it likely still does need them.
I would suggest using a new folder because cleaning does NOT work when you change the value of MONOLITHIC from past experience.
What I would use to build combined in one line
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release CXXFLAGS=-std=gnu++11 CPPFLAGS=-D_WIN32_IE=0x0603 USE_ODBC=1
Tim S.