From: Włodzimierz Skiba Date: Thu, 5 Aug 2004 13:36:42 +0000 (+0000) Subject: Fixed wrong condition. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d394825d697b56ecd4d21ef534b2bb5abcad87f4 Fixed wrong condition. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 03422af402..bbdaad1e6a 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -200,7 +200,7 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event) // following the mouse movement while it drags the sash, without it we only // draw the sash at the new position but only resize the windows when the // dragging is finished -#ifdef __WXMAC__ && TARGET_API_MAC_OSX == 1 +#if defined( __WXMAC__ ) && TARGET_API_MAC_OSX == 1 bool isLive = true ; #else bool isLive = (GetWindowStyleFlag() & wxSP_LIVE_UPDATE) != 0;