Hi,
Can anybody help me with wxPython drag'n'drop? I have a frame/panel
and dialog, both with drop targets, but DND doesn't work in dialog.
This is a code: http://users.cosmostv.by/andreys/a2.py.txt
···
--
andrey
Hi,
Can anybody help me with wxPython drag'n'drop? I have a frame/panel
and dialog, both with drop targets, but DND doesn't work in dialog.
This is a code: http://users.cosmostv.by/andreys/a2.py.txt
--
andrey
Andrey Sidorenko wrote:
Hi,
Can anybody help me with wxPython drag'n'drop? I have a frame/panel
and dialog, both with drop targets, but DND doesn't work in dialog.
This is a code: http://users.cosmostv.by/andreys/a2.py.txt
There are two problems. First the wx.StaticBox seems to be interfering with DnD. Once I removed that then it started accepting drops. Please enter a bug report about this with a category of 'wxMSW specific'.
The second problem is that when using a style of wx.TE_RICH or wx.TE_RICH2 then the control's built-in drop target is the one being used, not your NTextDropTarget. Please enter a bug report about this too, also with a category of 'wxMSW specific'.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Thank, you Robin,
I’ll submit 2 bug reports.
On 2/8/06, Robin Dunn robin@alldunn.com wrote:
Andrey Sidorenko wrote:
Hi,
Can anybody help me with wxPython drag’n’drop? I have a frame/panel
and dialog, both with drop targets, but DND doesn’t work in dialog.
This is a code: http://users.cosmostv.by/andreys/a2.py.txtThere are two problems. First the wx.StaticBox seems to be interfering
with DnD. Once I removed that then it started accepting drops. Please
enter a bug report about this with a category of ‘wxMSW specific’.The second problem is that when using a style of wx.TE_RICH or
wx.TE_RICH2 then the control’s built-in drop target is the one being
used, not your NTextDropTarget. Please enter a bug report about this
too, also with a category of ‘wxMSW specific’.–
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
–
andrey
Robin, did you try to set the msw.staticbox.optimized-paint
wxSystemOptions to 0?
On Wed, 2006-02-08 at 13:43 -0800, Robin Dunn wrote:
Andrey Sidorenko wrote:
> Hi,
>
> Can anybody help me with wxPython drag'n'drop? I have a frame/panel
> and dialog, both with drop targets, but DND doesn't work in dialog.
> This is a code: http://users.cosmostv.by/andreys/a2.py.txtThere are two problems. First the wx.StaticBox seems to be interfering
with DnD. Once I removed that then it started accepting drops. Please
enter a bug report about this with a category of 'wxMSW specific'.
Ricardo Pedroso wrote:
On Wed, 2006-02-08 at 13:43 -0800, Robin Dunn wrote:
Andrey Sidorenko wrote:
Hi,
Can anybody help me with wxPython drag'n'drop? I have a frame/panel
and dialog, both with drop targets, but DND doesn't work in dialog.
This is a code: http://users.cosmostv.by/andreys/a2.py.txtThere are two problems. First the wx.StaticBox seems to be interfering with DnD. Once I removed that then it started accepting drops. Please enter a bug report about this with a category of 'wxMSW specific'.
Robin, did you try to set the msw.staticbox.optimized-paint
wxSystemOptions to 0?
Makes no difference. It turns out that it is due to the z-order of the static box and the fact that it is a sibling of the other controls and although the center is transparent and other mouse events get passed on to the other controls, the drop is going to the static box. There was a fix checked in to CVS this morning for wx 2.7.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!