void ToolbarPanel::OnSetOuterColor(wxCommandEvent& event) { Shadow* shadow = m_stage->GetSymbol()->GetShadow(); ee::RGBColorSettingDlg dlg(this, NULL, shadow->GetOuterColor()); if (dlg.ShowModal() == wxID_OK) { shadow->SetOuterColer(dlg.GetColor()); shadow->BuildFace(); ee::SetCanvasDirtySJ::Instance()->SetDirty(); } }