Fix a few more missing language-change updates.

Fixes: lp:1779513
* https://bugs.launchpad.net/kicad/+bug/1779513

(cherry picked from commit 8389c5c)
This commit is contained in:
Jeff Young 2018-06-30 23:38:04 +01:00
parent fb21069c5a
commit 6a7e6e7735
4 changed files with 38 additions and 0 deletions

View File

@ -1788,3 +1788,19 @@ void LIB_EDIT_FRAME::CommonSettingsChanged()
Layout();
SendSizeEvent();
}
void LIB_EDIT_FRAME::ShowChangedLanguage()
{
// call my base class
SCH_BASE_FRAME::ShowChangedLanguage();
// tooltips in toolbars
ReCreateHToolbar();
ReCreateVToolbar();
ReCreateOptToolbar();
// status bar
UpdateMsgPanel();
}

View File

@ -720,6 +720,8 @@ public:
*/
void CommonSettingsChanged() override;
void ShowChangedLanguage() override;
private:
///> Helper screen used when no part is loaded
SCH_SCREEN* m_dummyScreen;

View File

@ -1508,3 +1508,20 @@ void SCH_EDIT_FRAME::CommonSettingsChanged()
Layout();
SendSizeEvent();
}
void SCH_EDIT_FRAME::ShowChangedLanguage()
{
// call my base class
SCH_BASE_FRAME::ShowChangedLanguage();
// tooltips in toolbars
ReCreateHToolbar();
ReCreateVToolbar();
ReCreateOptToolbar();
// status bar
UpdateMsgPanel();
}

View File

@ -1523,6 +1523,9 @@ public:
*/
void CommonSettingsChanged() override;
void ShowChangedLanguage() override;
///> Probe cursor, used by circuit simulator
const static wxCursor CURSOR_PROBE;