avoid assertions in case the toplevel window is not really created by wx (native filedialogs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1531,6 +1531,12 @@ void wxTopLevelWindowMac::DoGetClientSize( int *width, int *height ) const
|
|||||||
*height = bounds.bottom - bounds.top ;
|
*height = bounds.bottom - bounds.top ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxTopLevelWindowMac::DoCentre(int dir)
|
||||||
|
{
|
||||||
|
if ( m_macWindow != 0 )
|
||||||
|
wxTopLevelWindowBase::DoCentre(dir);
|
||||||
|
}
|
||||||
|
|
||||||
void wxTopLevelWindowMac::MacSetMetalAppearance( bool set )
|
void wxTopLevelWindowMac::MacSetMetalAppearance( bool set )
|
||||||
{
|
{
|
||||||
#if TARGET_API_MAC_OSX
|
#if TARGET_API_MAC_OSX
|
||||||
|
Reference in New Issue
Block a user