]> git.saurik.com Git - wxWidgets.git/commitdiff
another BC++ fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Oct 1999 12:27:43 +0000 (12:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Oct 1999 12:27:43 +0000 (12:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dobjcmn.cpp

index 7ead643ae923e97c031ffbdcc2d0990f17d8bb3f..6a40f0b1d9926938111dabdd65a2b180e8c71a4f 100644 (file)
@@ -97,7 +97,7 @@ wxDataObjectComposite::GetPreferredFormat(Direction WXUNUSED(dir)) const
 {
     wxSimpleDataObjectList::Node *node = m_dataObjects.Item( m_preferred );
 
 {
     wxSimpleDataObjectList::Node *node = m_dataObjects.Item( m_preferred );
 
-    wxCHECK_MSG( node, wxDF_INVALID, wxT("no preferred format") );
+    wxCHECK_MSG( node, wxFormatInvalid, wxT("no preferred format") );
 
     wxDataObjectSimple* dataObj = node->GetData();
 
 
     wxDataObjectSimple* dataObj = node->GetData();