]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
Use C locale representation for floating point numbers in wxAny.
[wxWidgets.git] / src / common / docview.cpp
index 4118192416ee711566d746364411b33c136e6f6e..fc1c256337baa61a4766a83b34d5bf24dc56f954 100644 (file)
@@ -2076,7 +2076,7 @@ bool wxDocParentFrameAnyBase::TryProcessEvent(wxEvent& event)
     if ( wxView* const view = m_docManager->GetAnyUsableView() )
     {
         wxWindow* win = view->GetFrame();
-        if ( win != m_frame )
+        if ( win && win != m_frame )
         {
             // Notice that we intentionally don't use wxGetTopLevelParent()
             // here because we want to check both for the case of a child