franz steinhaeusler wrote:
> here I have my problems with the listctrl.
> With the editableListbox, I want to view/edit clipboard (and also
> "snippets" entries. And some clipboard data entries are quiet long.
> I want to have Tooltips in Listctrl to view the content and I have an
> edit button (which calls a dialog with stc Editor) to comfortable edit
> the entry.
If the underlying GUI control doesn't support what you're trying to do,
don't rely on it. Store the clipboard entries separately in some other
structure like a list of strings, rather than having wx do the work for
you. When you show the edit dialog, retrieve the full text of the entry
from your list instead of using ListCtrl.GetItemText.
This is pretty common in GUI apps - the list of clipboard entries is
your data model, the list is your view. Don't confuse the two and the
limitations of the GUI won't matter.
--
James Scholes
http://twitter.com/JamesScholes