>>In short Batch.cpp is used in both PTBatcher and PTBatcherGUI but wxGetApp() is only defined in the GUI project.
Actually I'm wrong here, the issues is which headers gets included into Batch.cpp. It is easy to re-range the header so they both contain the DECLARE_APP().. Then all that is needed is to conditionally include either Batcher.h or BatcherGUI.h. But is not that easy when this file is compiled it does not know what is being compiled with it, to select the appropaite header. Regards Stephen -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/811864 Title: PTBatcherGUI annoying window handling Status in Hugin - Panorama Tools GUI: In Progress Bug description: With 2011.2.0 the old <Stich Now!> is gone, I am using PTBatcherGUI instead. The window handling is very annoying. The main autobatcher window and the progress window are automatically if switch to another virtual desktop and back again. It would also be very nice if closing the hugin apllication would close (the not manually started) PTBatcherGUI instance, too. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/811864/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~hugin-bug-hunters Post to : hugin-bug-hunters@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-bug-hunters More help : https://help.launchpad.net/ListHelp