X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8520f1374ceec64abae3802984c4f8654d8836ba..477550dc0cd5a38bfae7c32e3fe9d8823c13a761:/samples/dialup/nettest.cpp diff --git a/samples/dialup/nettest.cpp b/samples/dialup/nettest.cpp index 775527ec30..2c0034e022 100644 --- a/samples/dialup/nettest.cpp +++ b/samples/dialup/nettest.cpp @@ -170,7 +170,9 @@ bool MyApp::OnInit() { wxLogError(wxT("The sample can't run on this system.")); +#if wxUSE_LOG wxLog::GetActiveTarget()->Flush(); +#endif // wxUSE_LOG // do it here, OnExit() won't be called delete m_dial;