adding native hook for drop target

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-07-01 15:45:15 +00:00
parent 3c7037000b
commit 5ce7b0b55c
2 changed files with 4 additions and 4 deletions

View File

@ -301,6 +301,8 @@ public :
virtual void SetCursor( const wxCursor & cursor ) = 0;
virtual void CaptureMouse() = 0;
virtual void ReleaseMouse() = 0;
virtual void SetDropTarget( wxDropTarget *dropTarget ) {}
virtual wxInt32 GetValue() const = 0;
virtual void SetValue( wxInt32 v ) = 0;

View File

@ -655,10 +655,8 @@ void wxWindowMac::SetDropTarget(wxDropTarget *pDropTarget)
delete m_dropTarget;
m_dropTarget = pDropTarget;
if ( m_dropTarget != NULL )
{
// TODO:
}
GetPeer()->SetDropTarget(m_dropTarget) ;
}
#endif