diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 067aa65fac..2e1f606c43 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -261,7 +261,7 @@ void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) ) for(wxNode *node = GetChildren().First(); node; node = node->Next()) { wxWindow *win = (wxWindow *)node->Data(); - if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog)) + if (!wxIS_KIND_OF(win,wxFrame) && !wxIS_KIND_OF(win,wxDialog)) { // it's the second one: do nothing if (child) return; diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index 4e9104c7a9..8d0d64c9ca 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -462,7 +462,7 @@ void wxFrame::OnSize( wxSizeEvent &WXUNUSED(event) ) for(wxNode *node = GetChildren().First(); node; node = node->Next()) { wxWindow *win = (wxWindow *)node->Data(); - if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog) + if (!wxIS_KIND_OF(win,wxFrame) && !wxIS_KIND_OF(win,wxDialog) #if 0 // not in m_children anyway ? && (win != m_frameMenuBar) && (win != m_frameToolBar) && diff --git a/src/gtk1/dialog.cpp b/src/gtk1/dialog.cpp index 067aa65fac..2e1f606c43 100644 --- a/src/gtk1/dialog.cpp +++ b/src/gtk1/dialog.cpp @@ -261,7 +261,7 @@ void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) ) for(wxNode *node = GetChildren().First(); node; node = node->Next()) { wxWindow *win = (wxWindow *)node->Data(); - if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog)) + if (!wxIS_KIND_OF(win,wxFrame) && !wxIS_KIND_OF(win,wxDialog)) { // it's the second one: do nothing if (child) return; diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index 4e9104c7a9..8d0d64c9ca 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -462,7 +462,7 @@ void wxFrame::OnSize( wxSizeEvent &WXUNUSED(event) ) for(wxNode *node = GetChildren().First(); node; node = node->Next()) { wxWindow *win = (wxWindow *)node->Data(); - if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog) + if (!wxIS_KIND_OF(win,wxFrame) && !wxIS_KIND_OF(win,wxDialog) #if 0 // not in m_children anyway ? && (win != m_frameMenuBar) && (win != m_frameToolBar) &&