Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2).
This is continuation of r70796 and serves the same purpose. Closes #14065, #14066. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -163,7 +163,7 @@ void wxMessageOutputStderr::Output(const wxString& str)
|
||||
|
||||
void wxMessageOutputDebug::Output(const wxString& str)
|
||||
{
|
||||
#if defined(__WXMSW__) && !defined(__WXMICROWIN__)
|
||||
#if defined(__WINDOWS__) && !defined(__WXMICROWIN__)
|
||||
wxString out(AppendLineFeedIfNeeded(str));
|
||||
out.Replace(wxT("\t"), wxT(" "));
|
||||
out.Replace(wxT("\n"), wxT("\r\n"));
|
||||
@@ -202,7 +202,7 @@ void wxMessageOutputMessageBox::Output(const wxString& str)
|
||||
wxString out(str);
|
||||
|
||||
// the native MSW msg box understands the TABs, others don't
|
||||
#ifndef __WXMSW__
|
||||
#ifndef __WINDOWS__
|
||||
out.Replace(wxT("\t"), wxT(" "));
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user