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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user