If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
bool Application::OnInit()
{
shader = new Shader(); // This is a wxFrame
shader->SetIcon(wxIcon(icon_xpm));
shader->Show(true);
return true;
}
// Back to int wxEntryReal(int& argc, wxChar **argv)
// it calls wxTheApp->OnRun()
int Application::OnRun()
{
return wxApp::OnRun();
}
// wxApp::OnRun() calls m_mainLoop->Run() which
// then executes the event loop without showing
// the frame. If I use the taskbar button to close
// the app, it closes just file.