FIX: [STUDIO-3155] text color of editor in ObjectList

Change-Id: Ia414c5b72ac371222907ec043ac865a3d84857aa
This commit is contained in:
chunmao.guo 2023-06-09 09:46:50 +08:00 committed by Lane.Wei
parent 0207b7915e
commit b55a5b7556
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ wxWindow* BitmapTextRenderer::CreateEditorCtrl(wxWindow* parent, wxRect labelRec
text_editor->SetInsertionPointEnd(); text_editor->SetInsertionPointEnd();
text_editor->SelectAll(); text_editor->SelectAll();
text_editor->SetBackgroundColour(parent->GetBackgroundColour()); text_editor->SetBackgroundColour(parent->GetBackgroundColour());
text_editor->SetForegroundColour(parent->GetForegroundColour());
return text_editor; return text_editor;
} }