OSDN Git Service

Ruby modal dialog causes crash sometimes on activation. Fixed (hopefully)
authortoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Tue, 26 Apr 2016 14:27:04 +0000 (14:27 +0000)
committertoshinagata1964 <toshinagata1964@a2be9bc6-48de-4e38-9406-05402d4bc13c>
Tue, 26 Apr 2016 14:27:04 +0000 (14:27 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/molby/trunk@592 a2be9bc6-48de-4e38-9406-05402d4bc13c

wxSources/RubyDialogFrame.cpp

index e0e8897..e19d18b 100644 (file)
@@ -460,7 +460,7 @@ RubyDialogFrame::OnChildFocus(wxChildFocusEvent &event)
                }
 #endif
                lastFocusedWindow = winp;
-       }
+       } else lastFocusedWindow = NULL;
        event.Skip();
 }