32 #include <wx/gdicmn.h>
33 #include <wx/docview.h>
72 wxSize cSize = canvas->GetSize();
76 while (cSize.GetWidth() < factor*figureSize.GetWidth() ||
77 cSize.GetHeight() < factor*figureSize.GetHeight()) {
141 wxDocManager* manager = wxGetApp().docManager();
142 if (manager->GetCurrentView() != NULL) {