wxDropTarget and combos?

Armel Asselin asselin.armel at wanadoo.fr
Wed Aug 29 01:53:01 PDT 2007


For whom it interests,
  ----- Original Message ----- =

  From: Armel Asselin =

  To: wx-users at lists.wxwidgets.org =

  Sent: Tuesday, August 28, 2007 4:29 PM
  Subject: wxDropTarget and combos?


  Hello,

  I'm currently stuck with wxMac 2.6.3 and I have to fix the following prob=
lem:
  setting a drop target in the wxComboBox does actually sets the drop targe=
t in the composite control (probably some kind of panel), but not the text =
field inside...
  would it be right to have SetDropTarget( tgt ) be something like: text_fi=
eld->SetDropTarget (tgt)?

  I searched for a fix about that but did not found anything, is there one?

  Regards,
  Armel Asselin
I actually did the above trick (redirecting SetDropTarget/GetDropTarget to =
m_text or m_choice) and it works well.

I can submit a patch but it will be against 2.6.3 (though few modifications=
 happened to wxCombobox since then and should apply rather easily)
Armel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070829/762=
2d623/attachment.htm


More information about the wx-users mailing list