]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/notebmac.cpp
cleanup in toplevel activation, and switching to native carbon event notification...
[wxWidgets.git] / src / mac / carbon / notebmac.cpp
index 91c17ee434a9f266941d3f7cb8633b1608cb029c..ae2e636a3a20dffa527893c7db5a2ffd8f5e19b5 100644 (file)
@@ -581,7 +581,7 @@ void  wxNotebook::OnMouse( wxMouseEvent &event )
         int x = event.m_x ;
         int y = event.m_y ;
 
-#if TARGET_API_MAC_ISX
+#if TARGET_API_MAC_OSX
                // OS Needs it in window not client coordinates
                wxPoint origin = GetClientAreaOrigin() ;
                x += origin.x ;