]> git.saurik.com Git - wxWidgets.git/commitdiff
IS_KIND_OF -> wxIS_KIND_OF compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Dec 1998 12:23:40 +0000 (12:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Dec 1998 12:23:40 +0000 (12:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dialog.cpp
src/gtk/frame.cpp
src/gtk1/dialog.cpp
src/gtk1/frame.cpp

index 067aa65fac693772d9d452a9b056bcc620c41b36..2e1f606c435a615f464e4e50463ab204ce5f8220 100644 (file)
@@ -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;
index 4e9104c7a97b16baf85428e30b4a146f4edc5fdd..8d0d64c9cad71b65a223a40d0f0d424a0c392c9e 100644 (file)
@@ -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) &&
index 067aa65fac693772d9d452a9b056bcc620c41b36..2e1f606c435a615f464e4e50463ab204ce5f8220 100644 (file)
@@ -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;
index 4e9104c7a97b16baf85428e30b4a146f4edc5fdd..8d0d64c9cad71b65a223a40d0f0d424a0c392c9e 100644 (file)
@@ -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) &&