1. fixed compilation of wxExecute() for !wxUSE_IPC

2. wxLogStatus() will not assert if there is no statusbar to set text for


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-01-18 21:21:33 +00:00
parent feda301187
commit 731dd422ea
2 changed files with 9 additions and 3 deletions

View File

@@ -198,7 +198,7 @@ void wxLogGui::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
}
}
if ( pFrame != NULL )
if ( pFrame && pFrame->GetStatusBar() )
pFrame->SetStatusText(szString);
}
#endif // wxUSE_STATUSBAR