Improve GPU checks

This commit is contained in:
nastys
2024-04-23 19:08:28 +02:00
parent be29f090f3
commit 430e650d0d
3 changed files with 61 additions and 8 deletions
@@ -609,6 +609,7 @@ public:
int _defaultVal;
int _indexOffset;
std::vector<LPCWSTR> _valueStrings;
System::IntPtr labelHandle;
DropdownOption(LPCWSTR iniVarName, LPCWSTR iniSectionName, LPCWSTR iniFilePath, LPCWSTR friendlyName, LPCWSTR description, int defaultVal, std::vector<LPCWSTR> valueStrings, int indexOffset=0)
{
@@ -628,6 +629,7 @@ public:
ComboBox^ combobox = gcnew ComboBox();
label->Text = gcnew String(_friendlyName);
labelHandle = label->Handle;
label->Left = left;
label->Top = top + 3;
label->Width = Col1Width;