forked from Mirrors/openclonk
Fix Mac build error
parent
ce9245c55c
commit
be31964c2e
|
@ -267,8 +267,11 @@ C4StartupAboutDlg::C4StartupAboutDlg() : C4StartupDlg(LoadResStr("IDS_DLG_ABOUT"
|
||||||
|
|
||||||
DrawPersonList(C4StartupAboutContributors, contributors, caContributors.GetFromTop(caContributors.GetHeight()));
|
DrawPersonList(C4StartupAboutContributors, contributors, caContributors.GetFromTop(caContributors.GetHeight()));
|
||||||
|
|
||||||
|
// FIXME: K_S is not defined for Cocoa builds.
|
||||||
|
#ifndef USE_COCOA
|
||||||
keySaveCredits = std::make_unique<C4KeyBinding>(C4KeyCodeEx(K_S, KEYS_Control), "StartupAboutSaveCredits", KEYSCOPE_Gui,
|
keySaveCredits = std::make_unique<C4KeyBinding>(C4KeyCodeEx(K_S, KEYS_Control), "StartupAboutSaveCredits", KEYSCOPE_Gui,
|
||||||
new C4GUI::DlgKeyCB<C4StartupAboutDlg>(*this, &C4StartupAboutDlg::SaveCredits), C4CustomKey::PRIO_CtrlOverride);
|
new C4GUI::DlgKeyCB<C4StartupAboutDlg>(*this, &C4StartupAboutDlg::SaveCredits), C4CustomKey::PRIO_CtrlOverride);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
C4StartupAboutDlg::~C4StartupAboutDlg() = default;
|
C4StartupAboutDlg::~C4StartupAboutDlg() = default;
|
||||||
|
|
Loading…
Reference in New Issue