adding OS level Window Menu by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1109,6 +1109,7 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
||||
else if ( HasFlag( wxCAPTION ) )
|
||||
{
|
||||
wclass = kDocumentWindowClass ;
|
||||
attr |= kWindowInWindowMenuAttribute ;
|
||||
}
|
||||
#if defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
|
||||
else if ( HasFlag( wxFRAME_DRAWER ) )
|
||||
|
Reference in New Issue
Block a user