I try to use wxWidgets in my C++ project.
As far as I know, for wxWidgets I need to use wxIMPLEMENT_APP(MyAPP );
instead of the main()
function.
I don't understand how to write other functions to do other work before my wxWidgets graphics object is created.
In other words, I would like to understand how to get a result like this:
int main(int argc, char* argv[]) {
configure_application_1();
app_config app_cfg;
app_configuration(app_cfg);
other_functions();
___create_wxWidgets________
}