Always set focus on mouse click in generic wxTimePickerCtrl
This commit is contained in:
@@ -259,6 +259,8 @@ private:
|
|||||||
|
|
||||||
void OnTextClick(wxMouseEvent& event)
|
void OnTextClick(wxMouseEvent& event)
|
||||||
{
|
{
|
||||||
|
m_text->SetFocus();
|
||||||
|
|
||||||
Field field = Field_Max; // Initialize just to suppress warnings.
|
Field field = Field_Max; // Initialize just to suppress warnings.
|
||||||
long pos;
|
long pos;
|
||||||
switch ( m_text->HitTest(event.GetPosition(), &pos) )
|
switch ( m_text->HitTest(event.GetPosition(), &pos) )
|
||||||
|
Reference in New Issue
Block a user