Fix compile failure on Windows

This commit is contained in:
elasota
2020-11-02 22:09:39 -05:00
parent 0d5db76492
commit 2b3a9f1669
2 changed files with 8 additions and 0 deletions

View File

@@ -399,6 +399,8 @@ static void TranslateWindowsMessage(const MSG *msg, IGpVOSEventQueue *eventQueue
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{ {
(void)lpCmdLine;
LPWSTR cmdLine = GetCommandLineW(); LPWSTR cmdLine = GetCommandLineW();
int nArgs; int nArgs;

View File

@@ -153,6 +153,12 @@ unsigned int GpSystemServices_Win32::GetCPUCount() const
void GpSystemServices_Win32::SetTextInputEnabled(bool isEnabled) void GpSystemServices_Win32::SetTextInputEnabled(bool isEnabled)
{ {
(void)isEnabled;
}
bool GpSystemServices_Win32::IsTextInputEnabled() const
{
return true;
} }
void GpSystemServices_Win32::SetTouchscreenSimulation(bool isTouchscreenSimulation) void GpSystemServices_Win32::SetTouchscreenSimulation(bool isTouchscreenSimulation)