cannot drop on wxGrid with wxmac2.9

Vadim Zeitlin vadim at wxwidgets.org
Fri Feb 22 16:23:25 PST 2008


On Fri, 22 Feb 2008 10:57:10 +0100 Riccardo Cohen <rcohen at articque.com> wrote:

RC> I try to drag and drop some file on a wxGrid, and it works on windows 
RC> but not on mac (see code below)

 This is strange, I wouldn't expect this to work under Windows neither and
would be really curious to know why/how does it work.

RC> grid->SetDropTarget(new mydroptarget(this));

 I'm almost sure you need to associate the drop target with
grid->GetGridWindow() instead.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list