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
This commit is contained in:
@@ -787,9 +787,11 @@ public:
|
|||||||
wxPoint GetPosition() const { return m_pos; }
|
wxPoint GetPosition() const { return m_pos; }
|
||||||
void SetPosition( int x, int y ) { m_pos.x = x; m_pos.y = y; }
|
void SetPosition( int x, int y ) { m_pos.x = x; m_pos.y = y; }
|
||||||
|
|
||||||
|
#if wxUSE_DRAG_AND_DROP
|
||||||
// For drag operations
|
// For drag operations
|
||||||
void SetDataObject( wxDataObject *obj ) { m_dataObject = obj; }
|
void SetDataObject( wxDataObject *obj ) { m_dataObject = obj; }
|
||||||
wxDataObject *GetDataObject() const { return m_dataObject; }
|
wxDataObject *GetDataObject() const { return m_dataObject; }
|
||||||
|
#endif // wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
// For drop operations
|
// For drop operations
|
||||||
void SetDataFormat( const wxDataFormat &format ) { m_dataFormat = format; }
|
void SetDataFormat( const wxDataFormat &format ) { m_dataFormat = format; }
|
||||||
|
Reference in New Issue
Block a user