X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1366cdb2a2c3fdbce35d6ef3207d01c288c8bfa..49e3e2c25f93dd8114b36155de1756139b7f18b9:/src/generic/splitter.cpp diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 22c09bc9ff..bbdaad1e6a 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -200,8 +200,11 @@ 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 +#if defined( __WXMAC__ ) && TARGET_API_MAC_OSX == 1 + bool isLive = true ; +#else bool isLive = (GetWindowStyleFlag() & wxSP_LIVE_UPDATE) != 0; - +#endif if (event.LeftDown()) { if ( SashHitTest(x, y) )