wxMotif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -364,6 +364,8 @@ void wxWindowBase::Centre(int direction)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// there is no wxTopLevelWindow under wxMotif yet
|
||||||
|
#ifndef __WXMOTIF__
|
||||||
// we shouldn't center the dialog on the iconized window: under
|
// we shouldn't center the dialog on the iconized window: under
|
||||||
// Windows, for example, this places it completely off the screen
|
// Windows, for example, this places it completely off the screen
|
||||||
if ( parent )
|
if ( parent )
|
||||||
@@ -374,6 +376,7 @@ void wxWindowBase::Centre(int direction)
|
|||||||
parent = NULL;
|
parent = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // __WXMOTIF__
|
||||||
|
|
||||||
// did we find the parent?
|
// did we find the parent?
|
||||||
if ( !parent )
|
if ( !parent )
|
||||||
|
Reference in New Issue
Block a user