#endif
// For compilers that support precompilation, includes "wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
csDiagramDocument *diagramDoc = (csDiagramDocument *)GetDocument();
diagramDoc->GetDiagram()->SetCanvas(NULL);
- canvas->Clear();
+ canvas->ClearBackground();
canvas->SetDiagram(NULL);
canvas->SetView(NULL);
canvas = NULL;
{
frame->Destroy();
}
-
+
return TRUE;
}