mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-11 10:59:56 -05:00
Fix incorrect text color in dark mode (#920)
This commit is contained in:
1 parent
53b4019d1f
commit
a23d4392fb
2 files changed
+3
-3
No files matched your search
@@ -472,9 +472,9 @@ namespace VeraCrypt
|
|||||||
VolumePimHelpStaticText->SetLabel(LangString["PIM_CHANGE_WARNING"]);
|
VolumePimHelpStaticText->SetLabel(LangString["PIM_CHANGE_WARNING"]);
|
||||||
guiUpdated = true;
|
guiUpdated = true;
|
||||||
}
|
}
|
||||||
if (!pimChanged && VolumePimHelpStaticText->GetForegroundColour() != *wxBLACK)
|
if (!pimChanged && VolumePimHelpStaticText->GetForegroundColour() != wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT))
|
||||||
{
|
{
|
||||||
VolumePimHelpStaticText->SetForegroundColour(*wxBLACK);
|
VolumePimHelpStaticText->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
||||||
VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
|
VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
|
||||||
guiUpdated = true;
|
guiUpdated = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ namespace VeraCrypt
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VolumePimHelpStaticText->SetForegroundColour(*wxBLACK);
|
VolumePimHelpStaticText->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
|
||||||
VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
|
VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
|
||||||
}
|
}
|
||||||
Fit();
|
Fit();
|
||||||
|
|||||||
Reference in new issue
Block a user