Skip to content
Extraits de code Groupes Projets
Valider aca234eb rédigé par Niels Martin Hansen's avatar Niels Martin Hansen
Parcourir les fichiers

Fix bugs #775 and #776, missing initialisation of controls in Auto4 Lua dialogues. (Untested.)

Originally committed to SVN as r2335.
parent f89b9d6c
Branches
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -418,7 +418,7 @@ nospin:
typedef wxValidator FloatTextValidator;
wxControl *Create(wxWindow *parent)
{
cw = new wxTextCtrl(parent, -1, text, wxDefaultPosition, wxDefaultSize, 0); //, FloatTextValidator());
cw = new wxTextCtrl(parent, -1, PrettyFloatF(value), wxDefaultPosition, wxDefaultSize, 0); //, FloatTextValidator());
cw->SetToolTip(hint);
return cw;
}
......@@ -543,6 +543,7 @@ nospin:
{
cw = new wxCheckBox(parent, -1, label);
cw->SetToolTip(hint);
static_cast<wxCheckBox*>(cw)->SetValue(value);
return cw;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter