Please don't jump on me asking why I should do this. Here is the reason: I am developing adobe illustrator plugin for cs6 version. I have decided to use wxWidgets for crossplatform UI (win & mac). I am able to get wxdialog & wxframe working with the plugin, but am not able to figure out how to embed a wxpanel (or other wx components) inside a native panel provided by adobe illustrator. I am looking for something similar to qwinwidget in qt. I tried (new wxwindow()).setHWND(), but it does not seem work -- the panel added is not displayed on the native hwnd that I passed.
I have looked into the mfc sample. It demonstrates invoking wxframe from a mfc frame, but not embedding wxcontrols into mfc/native frame.
I want to know
1. If it is possible at all
2. If yes, any pointers towards how to achieve this / sample code
Help greatly appreciated. Thanks in advance.
For the Windows side, this thread may be interesting:
http://forums.wxwidgets.org/viewtopic.php?f=23&t=38213
I don't know if any equivalent for OSX exists. If you don't get another answer here, try asking on the wx-users mailing list.