PCSX2 Documentation/The PCSX2 Program Flow
AppMain.cpp - this is where the fun begins!
There is a lot that happens under the hood with wxWidgets. We don't need to worry about that. All we need to worry about is this this line of code in AppMain.cpp. <source lang="cpp">IMPLEMENT_APP(Pcsx2App)</source> This macro tells the wxWidgets framework that Pcsx2App is the wxWidgets app that we want to fire up.