wxDrawerWindow - [ 909351 ] Drawer window for OS X Carbon - somewhat heavily modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -983,6 +983,16 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
||||
{
|
||||
wclass = kDocumentWindowClass ;
|
||||
}
|
||||
#if ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
|
||||
else if ( HasFlag( wxFRAME_DRAWER ) )
|
||||
{
|
||||
wclass = kDrawerWindowClass;
|
||||
// Should this be left for compositing check below?
|
||||
// CreateNewWindow will fail without it, should wxDrawerWindow turn
|
||||
// on compositing before calling MacCreateRealWindow?
|
||||
attr |= kWindowCompositingAttribute;// | kWindowStandardHandlerAttribute;
|
||||
}
|
||||
#endif //10.2 and up
|
||||
else
|
||||
{
|
||||
if ( HasFlag( wxMINIMIZE_BOX ) || HasFlag( wxMAXIMIZE_BOX ) ||
|
||||
|
Reference in New Issue
Block a user