Pārlūkot izejas kodu

Reusing IsWin7

Source commit: 80b1b3d54407fc8a48f75eca48aaff0c65f43a2f
Martin Prikryl 3 gadi atpakaļ
vecāks
revīzija
40610fe53a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      source/forms/MessageDlg.cpp

+ 1 - 1
source/forms/MessageDlg.cpp

@@ -1029,7 +1029,7 @@ TForm * __fastcall TMessageForm::Create(const UnicodeString & Msg,
   // Windows XP (not sure about Vista) does not support Hair space.
   // For Windows XP, we still keep the existing hack by using hard-coded spaces
   // in resource string
-  if (CheckWin32Version(6, 1))
+  if (IsWin7())
   {
     // Have to be padding with spaces (the smallest space defined, hair space = 1px),
     // as tabs actually do not tab, just expand to 8 spaces.