[wxPython-dev] 2.8.4.0 release

Robin Dunn robin at alldunn.com
Fri Apr 27 15:42:30 PDT 2007


Roman Rolinsky wrote:

> It seems wxWIN does not like to make Cursor from Icon, while wxGTK does
> not like Images. Mac requires an Icon argument too, but drag-and-drop
> does not seem to work 

It should.  Maybe it is having a problem with the fact you are using the 
right mouse button to do the DnD.  (Right buttons are a 2n'd class 
citizen on Macs.) Try switching to the left.  You should be able to 
detect the difference between a left click and a left drag without too 
much trouble.  Just make sure that you don't start the DnD from the left 
down event, but rather set a flag and then wait for motion events.  If 
the drag goes for more than a few pixels before the left-up then you can 
start the DnD from there.


> (BTW I did get a MacBook and installed wxPython
> 2.8.3 binary distribution so now can test things there. It seems some
> basic controls are not fully implemented with native objects for example
> ComboBox, and SpinCtrl I think too. Is this due to some compatibility
> with previous versions of MacOS? 

IIUC there wasn't a native widget that had enough wxComboBox-like 
functionality so it was emulated using a textctrl and a popup menu. 
There is now a native widget but the work hasn't been done yet to switch 
over to it for some reason, maybe there is still something lacking with 
it on 10.3 or something like that.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list