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:
Ryan Norton
2004-09-25 17:22:43 +00:00
parent 9469cc5a32
commit 3e17bc3f73
6 changed files with 293 additions and 0 deletions

View File

@@ -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 ) ||