From: Vadim Zeitlin Date: Sun, 1 Feb 2009 12:51:33 +0000 (+0000) Subject: another wxUSE_DRAG_AND_DROP==0 compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/62c9b3d73fdf9a892a311241f1effc12dde0282a another wxUSE_DRAG_AND_DROP==0 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 8dd6b72771..2ced284014 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -787,9 +787,11 @@ public: wxPoint GetPosition() const { return m_pos; } void SetPosition( int x, int y ) { m_pos.x = x; m_pos.y = y; } +#if wxUSE_DRAG_AND_DROP // For drag operations void SetDataObject( wxDataObject *obj ) { m_dataObject = obj; } wxDataObject *GetDataObject() const { return m_dataObject; } +#endif // wxUSE_DRAG_AND_DROP // For drop operations void SetDataFormat( const wxDataFormat &format ) { m_dataFormat = format; }