]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/dockart.cpp
VC6 compilation fix: using access declaration can only be used with immediate base...
[wxWidgets.git] / src / aui / dockart.cpp
index 02a0c7403590710689003557718c4e86882f8ac5..817eb01aaf73972dfd025c17423a4bfd52e1fb7e 100644 (file)
@@ -35,7 +35,7 @@
 #endif
 
 #ifdef __WXMAC__
-#include "wx/mac/private.h"
+#include "wx/osx/private.h"
 #include "wx/graphics.h"
 #endif
 
@@ -198,7 +198,7 @@ wxString wxAuiChopText(wxDC& dc, const wxString& text, int max_size)
 
 wxAuiDefaultDockArt::wxAuiDefaultDockArt()
 {
-#ifdef __WXMAC__
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
     wxColor base_colour = wxColour( wxMacCreateCGColorFromHITheme(kThemeBrushToolbarBackground));
 #else
     wxColor base_colour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);