1
0
forked from pool/boinc-client
boinc-client/boinc-client-wxWindowListNode.patch

13 lines
720 B
Diff

diff -Naur boinc_core_release_6_4_5/clientgui/DlgAdvPreferences.cpp boinc_core_release_6_4_5p/clientgui/DlgAdvPreferences.cpp
--- boinc_core_release_6_4_5/clientgui/DlgAdvPreferences.cpp 2009-02-07 10:13:29.000000000 +0100
+++ boinc_core_release_6_4_5p/clientgui/DlgAdvPreferences.cpp 2009-02-25 18:47:40.000000000 +0100
@@ -486,7 +486,7 @@
}
//all text ctrls in proc special time panel
wxWindowList children = m_panelProcSpecialTimes->GetChildren();
- wxWindowListNode* node = children.GetFirst();
+ wxWindowList::compatibility_iterator node = children.GetFirst();
while(node) {
if(node->GetData()->IsKindOf(CLASSINFO(wxTextCtrl))) {
wxTextCtrl* txt = wxDynamicCast(node->GetData(),wxTextCtrl);