Browse Source

custom font in colospeedbutton

lainz 8 years ago
parent
commit
79f036f94a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      colorspeedbutton.pas

+ 1 - 0
colorspeedbutton.pas

@@ -322,6 +322,7 @@ begin
         TextFlags := TextFlags or DT_RTLREADING;
         TextFlags := TextFlags or DT_RTLREADING;
 
 
       Canvas.Brush.Style := bsClear;
       Canvas.Brush.Style := bsClear;
+      TextStyle.SystemFont:=False;
       if Draw then
       if Draw then
       begin
       begin
         if HasGlyph then
         if HasGlyph then