diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 322b64f4cc..ceb50296a6 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -751,6 +751,10 @@ public: // things to look right... lv->SetFocus(); + Hide(); + } + + // On OSX and (possibly others) there can still be pending // messages/events for the list control when Scintilla wants to // close it, so do a pending delete of it instead of destroying diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 322b64f4cc..ceb50296a6 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -751,6 +751,10 @@ public: // things to look right... lv->SetFocus(); + Hide(); + } + + // On OSX and (possibly others) there can still be pending // messages/events for the list control when Scintilla wants to // close it, so do a pending delete of it instead of destroying