diff options
Diffstat (limited to 'wx+/mouse_move_dlg.cpp')
-rw-r--r-- | wx+/mouse_move_dlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/mouse_move_dlg.cpp b/wx+/mouse_move_dlg.cpp index e64e5da1..5c2a0a97 100644 --- a/wx+/mouse_move_dlg.cpp +++ b/wx+/mouse_move_dlg.cpp @@ -26,9 +26,9 @@ template <class Fun> inline void forEachChild(wxWindow& parent, Fun f) { wxWindowList& wl = parent.GetChildren(); - for (auto iter = wl.begin(); iter != wl.end(); ++iter) //yet another wxWidgets bug keeps us from using std::for_each + for (auto it = wl.begin(); it != wl.end(); ++it) //yet another wxWidgets bug keeps us from using std::for_each { - wxWindow& wnd = **iter; + wxWindow& wnd = **it; f(wnd); forEachChild(wnd, f); } |