app.cpp:61
#ifdef __WXMSW__
{ wxCMD_LINE_SWITCH, _T("na"), _T("no-check-associations"), _T("don't perform any association checks"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
{ wxCMD_LINE_SWITCH, _T("nd"), _T("no-dde"), _T("don't start a DDE server"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL },
#endif
app.cpp:442
m_NoDDE = parser.Found(_T("no-dde"), &val);
m_NoAssocs = parser.Found(_T("no-check-associations"), &val);
The two lines at 442, need an #ifdef __WXMSW__ guard as well. Otherwise assertions are triggered about unknown switches (no-dde, no-check-associations) on linux.