[ wxwindows-Patches-1487649 ] fix wxpython compile failure with stl-enabled wxWidgets

SourceForge.net noreply at sourceforge.net
Sun Apr 1 08:15:07 PDT 2007


Patches item #1487649, was opened at 2006-05-12 22:55
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1487649&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxPython specific
Group: bug fix
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: Rodolfo Schulz de Lima (rodlima)
Assigned to: Robin Dunn (robind)
Summary: fix wxpython compile failure with stl-enabled wxWidgets

Initial Comment:
The attached patch fixes wxpython compiler errors when
a stl-enabled wxWidgets is installed.

Although the patch works fine with a stl-enabled
wxWidgets, it will surely fail with a stl-disabled
library, so one should add #ifdef's to revert to the
old way of dealing with wxListBase, before commiting to
CVS (if approved). 

----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-04-01 17:15

Message:
Logged In: YES 
user_id=71618
Originator: NO

Wouldn't it be better to use compatibility_iterator for list iteration?
This would allow to use the same code for both STL and !STL builds.

It would be really nice to fix this if we plan on enabling wxUSE_STL any
time soon.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1487649&group_id=9863




More information about the wx-dev mailing list