Making sm_classTable private
Mattia Barbon
mattia.barbon at libero.it
Wed Apr 11 10:26:55 PDT 2007
Hello,
while working with XTI I noticed a FIXME comment about
making wxClassInfo::sm_classTable private. Adding a
const iterator interface to wxClassInfo, is straightforward:
for( wxClassInfo::const_iterator node = wxClassInfo::begin_classinfo(),
end = wxClassInfo::end_classinfo();
node != end; ++node )
{
const wxClassInfo *info = *node;
// stuff...
}
should I go ahead and make the change or is there a better interface?
While I am at it, making private the other public wxClassInfo members
should be easy.
Regards
Mattia
More information about the wx-dev
mailing list