forked from metin-server/m2dev-client-src
fix: restore linux mingw client build and gm smoke
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user