Live resizing is OS X only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -727,7 +727,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
attr |= kWindowCloseBoxAttribute ;
|
attr |= kWindowCloseBoxAttribute ;
|
||||||
}
|
}
|
||||||
|
|
||||||
attr |= kWindowLiveResizeAttribute; //turn on live resizing
|
if (UMAGetSystemVersion() >= 0x1000)
|
||||||
|
{
|
||||||
|
//turn on live resizing (OS X only)
|
||||||
|
attr |= kWindowLiveResizeAttribute;
|
||||||
|
}
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
#if 0 // having problems right now with that
|
#if 0 // having problems right now with that
|
||||||
|
@@ -727,7 +727,11 @@ void wxTopLevelWindowMac::MacCreateRealWindow( const wxString& title,
|
|||||||
attr |= kWindowCloseBoxAttribute ;
|
attr |= kWindowCloseBoxAttribute ;
|
||||||
}
|
}
|
||||||
|
|
||||||
attr |= kWindowLiveResizeAttribute; //turn on live resizing
|
if (UMAGetSystemVersion() >= 0x1000)
|
||||||
|
{
|
||||||
|
//turn on live resizing (OS X only)
|
||||||
|
attr |= kWindowLiveResizeAttribute;
|
||||||
|
}
|
||||||
|
|
||||||
#if TARGET_CARBON
|
#if TARGET_CARBON
|
||||||
#if 0 // having problems right now with that
|
#if 0 // having problems right now with that
|
||||||
|
Reference in New Issue
Block a user