File flamerobin-0.9.2-wxWindowListNode.patch of Package flamerobin
Index: src/gui/BaseDialog.cpp
===================================================================
--- src/gui/BaseDialog.cpp.orig
+++ src/gui/BaseDialog.cpp
@@ -103,7 +103,7 @@ void BaseDialog::updateColors(wxWindow *
parent = this;
const wxColour silver = wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE);
wxWindowList& l = parent->GetChildren();
- for (wxWindowListNode *n = l.GetFirst(); n; n = n->GetNext())
+ for (wxWindowList::compatibility_iterator n = l.GetFirst(); n; n = n->GetNext())
{
wxObject *o = n->GetData();
if (dynamic_cast<wxPanel *>(o))
Index: src/gui/BaseFrame.cpp
===================================================================
--- src/gui/BaseFrame.cpp.orig
+++ src/gui/BaseFrame.cpp
@@ -107,7 +107,7 @@ void BaseFrame::writeConfigSettings() co
// propagate call to children frames.
const wxWindowList& children = GetChildren();
- wxWindowListNode *node = children.GetFirst();
+ wxWindowList::compatibility_iterator node = children.GetFirst();
while (node)
{
BaseFrame *f = dynamic_cast<BaseFrame *>(node->GetData());