fix non-windows builds

This commit is contained in:
goeiecool9999 2025-11-14 13:05:39 +01:00
parent f71c5f7996
commit dcc1d2ea3f

View file

@ -295,11 +295,11 @@ bool CemuApp::OnInit()
{ {
MSWEnableDarkMode(DarkMode_Always); MSWEnableDarkMode(DarkMode_Always);
} }
#endif
// extend tooltip view duration on platforms that support it (windows) // extend tooltip duration to the maximum possible value
wxToolTip::SetDelay(-1); wxToolTip::SetDelay(-1);
wxToolTip::SetAutoPop(MAKELPARAM(std::numeric_limits<short>::max(),0)); wxToolTip::SetAutoPop(MAKELPARAM(std::numeric_limits<short>::max(),0));
#endif
for (auto&& path : failedWriteAccess) for (auto&& path : failedWriteAccess)
{ {