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:
Ryan Norton
2004-09-23 17:28:20 +00:00
parent e6e1f5176e
commit 957f865c97

View File

@@ -2624,8 +2624,10 @@ wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
void wxWindowMac::Update()
{
#if TARGET_API_MAC_OSX
WindowRef window = (WindowRef)MacGetTopLevelWindowRef() ;
#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
// invalid views in the window
if( UMAGetSystemVersion() >= 0x1030 )