#include "wx/renderer.h"
#include "wx/graphics.h"
-#include "wx/mac/uma.h"
+#include "wx/osx/private.h"
class WXDLLEXPORT wxRendererMac : public wxDelegateRendererNative
wxOrientation orient,
int WXUNUSED(flags) )
{
- bool hasMetal = win->MacGetTopLevelWindow()->MacGetMetalAppearance();
+ bool hasMetal = win->MacGetTopLevelWindow()->GetExtraStyle() & wxFRAME_EX_METAL;
SInt32 height;
GetThemeMetric( kThemeMetricSmallPaneSplitterHeight, &height );
HIRect splitterRect;