Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Problems using wxList

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Problems using wxList
#3315
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
#3318
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.

------------------------
Website: www.KaReLs0ft.be
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥880.00 ·
 
 
¥660.00 ·
 
 
¥1,580.00 ·
 
 
¥918.00 ·
 
 
¥430.00 ·
 
 
¥890.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0