Fixed wrong condition.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-08-05 13:36:42 +00:00
parent 3d6e6338f8
commit d394825d69

View File

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