From: pao_drop <pao...@bl...> - 2013-12-26 13:57:52
|
I am writing a pdf file using the SaveAsFile() method of wxPDFDocument. This works quite well, but how can I handle a file writing error (for instance, trying to write into a protected directory...)? The return type of SaveAsFile() is void, and it does not appear to throw any exception? So how can I manage this case? Regards, Paul |