Compile fix for wxDataFormat cast,
Unfinished code for wxDragCopy vs. wxDragMove, Corrected key accel code for wxFrame as children of wxFrame. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,7 +97,11 @@ wxDataObjectComposite::GetPreferredFormat(Direction WXUNUSED(dir)) const
|
||||
{
|
||||
wxSimpleDataObjectList::Node *node = m_dataObjects.Item( m_preferred );
|
||||
|
||||
#ifdef __WXGTK__
|
||||
wxCHECK_MSG( node, wxDataFormat(wxDF_INVALID), wxT("no preferred format") );
|
||||
#else
|
||||
wxCHECK_MSG( node, wxDataFormat((unsigned short) wxDF_INVALID), wxT("no preferred format") );
|
||||
#endif
|
||||
|
||||
wxDataObjectSimple* dataObj = node->GetData();
|
||||
|
||||
|
Reference in New Issue
Block a user