Hi
Well sometime I want to close the current doc of a view and put an empty one
Currently i make that
myView->Activate(true);
a2dDocviewGlobals->GetDocviewCommandProcessor()->FileClose();
a2dDocviewGlobals->GetDocviewCommandProcessor()->CreateDocuments
(wxT("dummy"),wxDOC_NEW,theRightTemplate);
Then i call this code it close the doc , then after it creates the doc
and go in the OnCreateDocument of the connector and then it dosn't
display anything => the canvas bug and display the last pixels which
was drawn on the area
How to create properly a new document so ??
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev