fix for wxLogDebug