get rid of __WXCOCOA__ check in common CreateLogTarget(), the right way to do this is to override wxUSE_LOG_DIALOG option in wxCocoa-specific chkconf.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-11 11:20:33 +00:00
parent 13c7fb28ff
commit d30ef76952
3 changed files with 25 additions and 3 deletions

View File

@@ -419,9 +419,7 @@ bool wxAppBase::SendIdleEvents(wxWindow* win, wxIdleEvent& event)
wxLog *wxGUIAppTraitsBase::CreateLogTarget()
{
// DE: One day I'll remove this but right now the generic dialog used for this
// just doesn't work right at all on wxCocoa.
#if wxUSE_LOGGUI && !defined(__WXCOCOA__)
#if wxUSE_LOGGUI
return new wxLogGui;
#else
// we must have something!