wxX11 and wxMotif STL-ification, part 1. it does not compile.
yet, but keeps the diff between my local copy and HEAD < 4000 lines... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -393,7 +393,7 @@ void wxWindow::Refresh(bool eraseBackground, const wxRect *rectClient)
|
||||
wxWindowNative::Refresh(eraseBackground, &rectWin);
|
||||
|
||||
// Refresh all sub controls if any.
|
||||
wxWindowList::Node *node = GetChildren().GetFirst();
|
||||
wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
|
||||
while ( node )
|
||||
{
|
||||
wxWindow *win = node->GetData();
|
||||
@@ -954,7 +954,7 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRect *rect)
|
||||
// scroll children accordingly:
|
||||
wxPoint offset(dx, dy);
|
||||
|
||||
for (wxWindowList::Node *node = GetChildren().GetFirst();
|
||||
for (wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
|
||||
node; node = node->GetNext())
|
||||
{
|
||||
wxWindow *child = node->GetData();
|
||||
|
Reference in New Issue
Block a user