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:
parent
27e2d31c5a
commit
de13591805
@ -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;
|
||||
|
@ -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) &&
|
||||
|
@ -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;
|
||||
|
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user