Fix UI crash on Windows (#813)

This commit is contained in:
Exzap 2023-05-11 15:27:45 +02:00 committed by GitHub
parent dba724c4a0
commit eda4cf4b24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -43,7 +43,9 @@ private:
wxCheckBox* m_auto_update, *m_save_screenshot;
wxCheckBox* m_permanent_storage;
wxCheckBox* m_disable_screensaver;
wxCheckBox* m_feral_gamemode;
#if BOOST_OS_LINUX && defined(ENABLE_FERAL_GAMEMODE)
wxCheckBox* m_feral_gamemode;
#endif
wxListBox* m_game_paths;
wxTextCtrl* m_mlc_path;