wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
to support sorting, also compilation fixes in dataobj.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,11 +97,7 @@ 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
|
||||
wxCHECK_MSG( node, wxFormatInvalid, wxT("no preferred format") );
|
||||
|
||||
wxDataObjectSimple* dataObj = node->GetData();
|
||||
|
||||
|
Reference in New Issue
Block a user