mirror of https://github.com/odrling/Aegisub
parent
e76cfae9bb
commit
79c1716ccd
|
@ -321,15 +321,14 @@ void FrameMain::InitToolbar () {
|
|||
}
|
||||
|
||||
|
||||
|
||||
/// @brief DOCME
|
||||
/// @param item_text
|
||||
/// @param hotkey_name
|
||||
/// @return
|
||||
///
|
||||
wxString MakeHotkeyText(const wxChar *item_text, const wxChar *hotkey_name) {
|
||||
return wxString::Format(_T("%s\t%s"), item_text, Hotkeys.GetText(hotkey_name).c_str());
|
||||
}
|
||||
wxString MakeHotkeyText(const wxString &item_text, const wxString &hotkey_name) {
|
||||
return item_text + wxString(_T("\t")) + Hotkeys.GetText(hotkey_name);
|
||||
}
|
||||
|
||||
|
||||
/// @brief Initialize menu bar
|
||||
|
|
Loading…
Reference in New Issue