summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a1554e)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74807
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxRichTextCaret::Notify()
{
void wxRichTextCaret::Notify()
{
+#ifdef __WXMAC__
+ // Workaround for lack of kill focus event in wxOSX
+ if (m_richTextCtrl && !m_richTextCtrl->HasFocus())
+ {
+ Hide();
+ return;
+ }
+#endif
+
m_flashOn = !m_flashOn;
Refresh();
}
m_flashOn = !m_flashOn;
Refresh();
}