]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
Cleaning of sources (Univ related files). -1/TRUE/FALSE/wxIDY_ANY/wxDefaultCoord...
[wxWidgets.git] / src / generic / splitter.cpp
index 03422af4029837f0fd61314fbe64eedde0b98621..93eb320d0a9b6034b1b2d9ae417642ab326d9bd4 100644 (file)
     #include "wx/settings.h"
 #endif
 
+#ifdef __WXMAC__
+    #include "wx/mac/private.h"
+#endif
+
 #include "wx/renderer.h"
 
 #include "wx/splitter.h"
@@ -200,7 +204,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;