another fix for wxUSE_DRAG_AND_DROP==0 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -713,8 +713,12 @@ public:
|
||||
virtual void HitTest( const wxPoint & point, wxDataViewItem &item, wxDataViewColumn* &column ) const = 0;
|
||||
virtual wxRect GetItemRect( const wxDataViewItem & item, const wxDataViewColumn *column = NULL ) const = 0;
|
||||
|
||||
virtual bool EnableDragSource( const wxDataFormat &format );
|
||||
virtual bool EnableDropTarget( const wxDataFormat &format );
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
virtual bool EnableDragSource(const wxDataFormat& WXUNUSED(format))
|
||||
{ return false; }
|
||||
virtual bool EnableDropTarget(const wxDataFormat& WXUNUSED(format))
|
||||
{ return false; }
|
||||
#endif // wxUSE_DRAG_AND_DROP
|
||||
|
||||
protected:
|
||||
virtual void DoSetExpanderColumn() = 0 ;
|
||||
|
@@ -894,16 +894,6 @@ const wxDataViewModel* wxDataViewCtrlBase::GetModel() const
|
||||
return m_model;
|
||||
}
|
||||
|
||||
bool wxDataViewCtrlBase::EnableDragSource( const wxDataFormat &WXUNUSED(format) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool wxDataViewCtrlBase::EnableDropTarget( const wxDataFormat &WXUNUSED(format) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void wxDataViewCtrlBase::ExpandAncestors( const wxDataViewItem & item )
|
||||
{
|
||||
if (!m_model) return;
|
||||
|
Reference in New Issue
Block a user