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:
parent
3c7037000b
commit
5ce7b0b55c
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user