unused variable warning fix - move unused stuff to proper place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2624,8 +2624,10 @@ wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
|
|||||||
void wxWindowMac::Update()
|
void wxWindowMac::Update()
|
||||||
{
|
{
|
||||||
#if TARGET_API_MAC_OSX
|
#if TARGET_API_MAC_OSX
|
||||||
WindowRef window = (WindowRef)MacGetTopLevelWindowRef() ;
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
|
||||||
|
WindowRef window = (WindowRef)MacGetTopLevelWindowRef() ;
|
||||||
|
|
||||||
// for composited windows this also triggers a redraw of all
|
// for composited windows this also triggers a redraw of all
|
||||||
// invalid views in the window
|
// invalid views in the window
|
||||||
if( UMAGetSystemVersion() >= 0x1030 )
|
if( UMAGetSystemVersion() >= 0x1030 )
|
||||||
|
Reference in New Issue
Block a user