trigraph warning fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-11 12:18:46 +00:00
parent 8613d47ba9
commit d8a01976c0
2 changed files with 6 additions and 2 deletions

View File

@@ -86,7 +86,9 @@ void wxDataFormat::SetType( wxDataFormatId Type )
{
wxFAIL_MSG( wxT("invalid dataformat") );
m_format = '????';
// this is '????' but it can't be used in the code because ??' is
// parsed as a trigraph!
m_format = 0x3f3f3f3f;
}
}

View File

@@ -86,7 +86,9 @@ void wxDataFormat::SetType( wxDataFormatId Type )
{
wxFAIL_MSG( wxT("invalid dataformat") );
m_format = '????';
// this is '????' but it can't be used in the code because ??' is
// parsed as a trigraph!
m_format = 0x3f3f3f3f;
}
}