wxUSE_LOG fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-07-20 19:11:34 +00:00
parent fe5ddd9250
commit f07941fc73
7 changed files with 37 additions and 4 deletions

View File

@@ -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;