Guidance Forums / wxWidgets (wxWindows) in C++ / Problems using wxList

Search 搜索
Home Home

Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Problems using wxList
Posted by: 2004-02-05 17:17:31
Hi there,

I've done a lot of my work with wxWindows lately and I got quiet familiar with it. Once you are, it's very easy. But anyway, I'm having some trouble trying to implement wxList. I want to linked list of structures of mine. Every time I use one of the macros WX_DECLARE_LIST and WX_DEFINE_LIST I'm getting some strange error messages.
Has anyone of successfully used a linked list. If so, I would really appreciate if some could post the parts of his source code, that are important for the use of wxList.

Thanks in advance.

P.S.: What I did, is the same as the sample shown in the 2.4.2 documentation.
Message2. Re: Problems using wxList
Posted by: KaReL 2004-02-06 02:40:41
use wxArray instead!

If that doesn't is the answer you like: look at the documentation, wxList is strongly discouraged...

If you still would like to use it, please post the code what you're trying to do, as it's really difficult to hit the target when you're blinded.

Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
© Sat 2023-2-4  Guidance Laboratory Inc. Hits:0