cursor reflects focus change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1181,6 +1181,7 @@ wxLayoutWindow::OnSetFocus(wxFocusEvent &ev)
|
|||||||
{
|
{
|
||||||
m_HaveFocus = true;
|
m_HaveFocus = true;
|
||||||
ev.Skip();
|
ev.Skip();
|
||||||
|
Refresh(FALSE); // cursor must change
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1188,6 +1189,7 @@ wxLayoutWindow::OnKillFocus(wxFocusEvent &ev)
|
|||||||
{
|
{
|
||||||
m_HaveFocus = false;
|
m_HaveFocus = false;
|
||||||
ev.Skip();
|
ev.Skip();
|
||||||
|
Refresh(FALSE);// cursor must change
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user