fix: restore linux mingw client build and gm smoke

This commit is contained in:
Claude
2026-04-17 21:53:59 +02:00
parent 2fe362e0a9
commit dfe0baabce
48 changed files with 432 additions and 103 deletions

View File

@@ -1,6 +1,8 @@
#include "StdAfx.h"
#include "PythonApplication.h"
#if defined(_MSC_VER)
#undef C8
#include <wrl.h>
#include <wil/com.h>
@@ -118,3 +120,29 @@ void CPythonApplication::HideWebPage()
else
SetCursorMode(CURSOR_MODE_HARDWARE);
}
#else
bool CPythonApplication::IsWebPageMode()
{
return false;
}
void CPythonApplication::ShowWebPage(const char* c_szURL, const RECT& c_rcWebPage)
{
TraceError("WebView2 is not available in this build");
}
void CPythonApplication::MoveWebPage(const RECT& c_rcWebPage)
{
}
void CPythonApplication::HideWebPage()
{
if (m_pySystem.IsSoftwareCursor())
SetCursorMode(CURSOR_MODE_SOFTWARE);
else
SetCursorMode(CURSOR_MODE_HARDWARE);
}
#endif