mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-02-01 02:24:22 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
Executable → Regular
+5
-13
@@ -3,7 +3,7 @@
|
||||
#include "StdAfx.h"
|
||||
#include "ComboDialog.h"
|
||||
|
||||
#include "Windows/Control/Static.h"
|
||||
#include "../../../Windows/Control/Static.h"
|
||||
|
||||
#ifdef LANG
|
||||
#include "LangUtils.h"
|
||||
@@ -11,20 +11,12 @@
|
||||
|
||||
using namespace NWindows;
|
||||
|
||||
#ifdef LANG
|
||||
static CIDLangPair kIDLangPairs[] =
|
||||
{
|
||||
{ IDOK, 0x02000702 },
|
||||
{ IDCANCEL, 0x02000710 }
|
||||
};
|
||||
#endif
|
||||
|
||||
bool CComboDialog::OnInit()
|
||||
{
|
||||
#ifdef LANG
|
||||
LangSetDlgItemsText(HWND(*this), kIDLangPairs, sizeof(kIDLangPairs) / sizeof(kIDLangPairs[0]));
|
||||
LangSetDlgItems(*this, NULL, 0);
|
||||
#endif
|
||||
_comboBox.Attach(GetItem(IDC_COMBO_COMBO));
|
||||
_comboBox.Attach(GetItem(IDC_COMBO));
|
||||
|
||||
/*
|
||||
// why it doesn't work ?
|
||||
@@ -38,10 +30,10 @@ bool CComboDialog::OnInit()
|
||||
SetText(Title);
|
||||
|
||||
NControl::CStatic staticContol;
|
||||
staticContol.Attach(GetItem(IDC_COMBO_STATIC));
|
||||
staticContol.Attach(GetItem(IDT_COMBO));
|
||||
staticContol.SetText(Static);
|
||||
_comboBox.SetText(Value);
|
||||
for(int i = 0; i < Strings.Size(); i++)
|
||||
FOR_VECTOR (i, Strings)
|
||||
_comboBox.AddString(Strings[i]);
|
||||
NormalizeSize();
|
||||
return CModalDialog::OnInit();
|
||||
|
||||
Reference in New Issue
Block a user