Hi,
I need to use wxGetApp() from within some modules aside from the .cpp that implements my actual application class. I understand that I need to create a forward definition using DECLARE_APP(MyApp), but I’m confused as to where I should place the declaration – should it be within the private: section of my application class definition? If so, I assume that I then need to include my application’s header file in any sub-module that needs to use wxGetApp()?
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm