IS_KIND_OF -> wxIS_KIND_OF compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-12-13 12:23:40 +00:00
parent 27e2d31c5a
commit de13591805
4 changed files with 4 additions and 4 deletions

View 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;

View 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) &&

View 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;

View 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) &&