Ok I have a solution

I just dont call

a2dDocviewGlobals->GetDocviewCommandProcessor()->FileClose();

and just call

        
wxASSERT(a2dDocviewGlobals->GetDocviewCommandProcessor()->CreateDocuments
(wxT("dummy"),wxDOC_NEW,
        FindDocTemplate("LayerDocument")));

Well I think I don't have to bother with fileClosing it's like when I call
a2dDocviewGlobals->GetDocviewCommandProcessor()->OpenFile();

-------------------------------------------------------------------------
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

Reply via email to