http://codelite.svn.sourceforge.net/viewvc/codelite/trunk/LiteEditor/cc_box.cpp?revision=5375&view=markup
http://codelite.svn.sourceforge.net/viewvc/codelite/trunk/LiteEditor/cc_box.h?revision=5375&view=markup
It works on all major platforms.
Under Windows / Linux it derives from wxPopupWindow, while under Mac
it derives from wxPanel (which has its implications, like the
completion box can not exceed the editor boundaries)
> --
> Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>
> To unsubscribe, send email to wx-users+u...@googlegroups.com
> or visit http://groups.google.com/group/wx-users
--
Eran Ifrah
Author of the cross platform, open source C++ IDE: http://www.codelite.org
TimeWarden, a parental control software: http://www.smartkoders.com
I never used wxSTC, but I am pretty sure that it uses the same or
similar API as wxScintilla.
In general, whenever you need to show the completion box just call
CCBox::Show() this method will do the adjustments needed (mainly
positioning)
Obviously you will need to adjust some of the code to fit your needs...
> --
> Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>
> To unsubscribe, send email to wx-users+u...@googlegroups.com
> or visit http://groups.google.com/group/wx-users
This is implemented only for wxGtk and wxMSW.
Yes, plus a few other classes. It all starts here:
http://trac.wxwidgets.org/browser/wxWidgets/trunk/src/stc/PlatWX.cpp#L760
and continues through about line 1360.
--
Robin Dunn
Software Craftsman
http://wxPython.org