Initial focus changed to the first non-mouse-wheel-capturing control to allow initial scrolling of the configuration dialog using mouse wheel

This commit is contained in:
2016-08-17 16:42:19 +02:00
parent b79a2f26f6
commit 92460c571f
2 changed files with 12 additions and 2 deletions

View File

@@ -437,6 +437,14 @@ public:
wxSetIconFromResource(m_credentials_icon, m_icon, m_shell32, MAKEINTRESOURCE(/*16770*/269));
}
///
/// Sets keyboard focus to the first control that do not capture mouse wheel
///
inline void SetFocusFromKbd()
{
m_own->SetFocusFromKbd();
}
protected:
/// \cond internal