The PDF Exporter bug was completely unrelated to the wxPdfDocument version. One possible solution would be to downgrade to another version of wxPdfDocument. If someone finds a way to bypass that compiler error, please let me know it so I can inform the author of that library about it (well, if that means modifying the source).