Skip to content
Extraits de code Groupes Projets
Valider 38dedfe1 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Only generate fake focus lost events when using the generic implementation

parent 1adae316
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -351,8 +351,10 @@ namespace Automation4 {
bool TransferFromWindow()
{
wxSpinCtrlDouble *ctrl = static_cast<wxSpinCtrlDouble*>(GetWindow());
#ifndef wxHAS_NATIVE_SPINCTRLDOUBLE
wxFocusEvent evt;
ctrl->OnTextLostFocus(evt);
#endif
*value = ctrl->GetValue();
return true;
}
......
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