]> git.saurik.com Git - wxWidgets.git/commitdiff
trigraph warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jun 2003 12:18:46 +0000 (12:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 11 Jun 2003 12:18:46 +0000 (12:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dataobj.cpp
src/mac/dataobj.cpp

index b384ac7036dc1eeffbcfdff88f3fbfe39fa4016f..ebf1f0dbed73ee4844ec3b7a2b6a128e80f0da9a 100644 (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;
     }
 }
 
index b384ac7036dc1eeffbcfdff88f3fbfe39fa4016f..ebf1f0dbed73ee4844ec3b7a2b6a128e80f0da9a 100644 (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;
     }
 }