VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/VolumePimWizardPage.cpp
diff options
context:
space:
mode:
authorKenneth Chew <79120643+kthchew@users.noreply.github.com>2022-08-21 11:58:08 -0400
committerGitHub <noreply@github.com>2022-08-21 17:58:08 +0200
commita23d4392fb9b570edd1c0eac9c267a50a6e2dfd7 (patch)
treebb0b008a9017571b53e6a7842f708e861356f8fb /src/Main/Forms/VolumePimWizardPage.cpp
parent53b4019d1f2c69cd1b4ee528c31a78a3a5a0e817 (diff)
downloadVeraCrypt-a23d4392fb9b570edd1c0eac9c267a50a6e2dfd7.tar.gz
VeraCrypt-a23d4392fb9b570edd1c0eac9c267a50a6e2dfd7.zip
Fix incorrect text color in dark mode (#920)
Diffstat (limited to 'src/Main/Forms/VolumePimWizardPage.cpp')
-rw-r--r--src/Main/Forms/VolumePimWizardPage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/VolumePimWizardPage.cpp b/src/Main/Forms/VolumePimWizardPage.cpp
index 8ce23043..7ef8a3a0 100644
--- a/src/Main/Forms/VolumePimWizardPage.cpp
+++ b/src/Main/Forms/VolumePimWizardPage.cpp
@@ -82,7 +82,7 @@ namespace VeraCrypt
}
else
{
- VolumePimHelpStaticText->SetForegroundColour(*wxBLACK);
+ VolumePimHelpStaticText->SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
}
Fit();