lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6545] Remove a superfluous cast (VZ)


From: Greg Chicares
Subject: [lmi-commits] [6545] Remove a superfluous cast (VZ)
Date: Thu, 31 Mar 2016 09:56:26 +0000

Revision: 6545
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6545
Author:   chicares
Date:     2016-03-31 09:56:25 +0000 (Thu, 31 Mar 2016)
Log Message:
-----------
Remove a superfluous cast (VZ)

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/skeleton.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-03-30 23:44:17 UTC (rev 6544)
+++ lmi/trunk/ChangeLog 2016-03-31 09:56:25 UTC (rev 6545)
@@ -38864,3 +38864,9 @@
   skeleton.cpp
 Don't count all children just to see if there are more than one (VZ).
 
+20160331T0956Z <address@hidden> [454]
+
+  skeleton.cpp
+Remove a superfluous cast (VZ). See:
+  http://lists.nongnu.org/archive/html/lmi/2016-03/msg00057.html
+

Modified: lmi/trunk/skeleton.cpp
===================================================================
--- lmi/trunk/skeleton.cpp      2016-03-30 23:44:17 UTC (rev 6544)
+++ lmi/trunk/skeleton.cpp      2016-03-31 09:56:25 UTC (rev 6545)
@@ -850,7 +850,7 @@
     event.Skip();
 
     wxMDIChildFrame* child_frame = frame_->GetActiveChild();
-    if(dynamic_cast<wxMDIChildFrame*>(child_frame))
+    if(child_frame)
         {
         bool has_multiple_mdi_children = false;
         wxWindowList const& wl = frame_->GetChildren();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]