Browse Source

check against cpu instead of widgetset

Johann ELSASS 4 years ago
parent
commit
d8566246ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lazpaint/udarktheme.pas

+ 1 - 1
lazpaint/udarktheme.pas

@@ -2,7 +2,7 @@
 unit UDarkTheme;
 
 {$mode objfpc}{$H+}
-{$IF defined(DARWIN) and defined(LCLcocoa)}{$DEFINE DARWIN_DARK_THEME}{$ENDIF}
+{$IF defined(DARWIN) and defined(CPU64)}{$DEFINE DARWIN_DARK_THEME}{$ENDIF}
 {$IFDEF DARWIN_DARK_THEME}{$modeswitch objectivec1}{$ENDIF}
 
 interface