ENH: use Clear instead of Clean

Change-Id: Ia15a6d17404a76ddaab809cadc664a3a92ab4aa5
This commit is contained in:
lane.wei 2023-01-20 15:53:21 +08:00 committed by Lane.Wei
parent 9a9113d3f7
commit fd64c5f694
1 changed files with 52 additions and 52 deletions

View File

@ -558,7 +558,7 @@ wxBoxSizer *StatusBasePanel::create_project_task_page(wxWindow *parent)
m_error_text->SetForegroundColour(wxColour(255, 0, 0));
text_sizer->Add(m_error_text, 1, wxEXPAND|wxLEFT, FromDIP(17));
m_button_clean = new Button(m_panel_error_txt, _L("Clean"));
m_button_clean = new Button(m_panel_error_txt, _L("Clear"));
StateColor clean_bg(std::pair<wxColour, int>(wxColour(255, 255, 255), StateColor::Disabled), std::pair<wxColour, int>(wxColour(206, 206, 206), StateColor::Pressed),
std::pair<wxColour, int>(wxColour(238, 238, 238), StateColor::Hovered), std::pair<wxColour, int>(wxColour(255, 255, 255), StateColor::Enabled),
std::pair<wxColour, int>(wxColour(255, 255, 255), StateColor::Normal));