More Clear -> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -160,7 +160,7 @@ bool csDiagramView::OnClose(bool deleteWindow)
|
||||
csDiagramDocument *diagramDoc = (csDiagramDocument *)GetDocument();
|
||||
diagramDoc->GetDiagram()->SetCanvas(NULL);
|
||||
|
||||
canvas->Clear();
|
||||
canvas->ClearBackground();
|
||||
canvas->SetDiagram(NULL);
|
||||
canvas->SetView(NULL);
|
||||
canvas = NULL;
|
||||
@@ -177,7 +177,7 @@ bool csDiagramView::OnClose(bool deleteWindow)
|
||||
{
|
||||
frame->Destroy();
|
||||
}
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user