X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4159f685e27805a55af8164bdbaf5b396aae84ca..cd5e9298159e58f57e05f3b76c9d4a45e1eefe12:/src/mac/mdi.cpp?ds=sidebyside

diff --git a/src/mac/mdi.cpp b/src/mac/mdi.cpp
index b41f8735e8..024c4fb6c7 100644
--- a/src/mac/mdi.cpp
+++ b/src/mac/mdi.cpp
@@ -17,6 +17,8 @@
 #include "wx/menu.h"
 #include "wx/settings.h"
 
+#include "wx/mac/private.h"
+
 extern wxWindowList wxModelessWindows;
 
 #if !USE_SHARED_LIBRARY
@@ -298,7 +300,7 @@ bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style)
     {
        parent->AddChild(this);
     }
-    m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE);
+    m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE);
 
     wxModelessWindows.Append(this);
     return TRUE;