lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [5265] Work around a wx-2.9.2 defect (VS)


From: Greg Chicares
Subject: [lmi-commits] [5265] Work around a wx-2.9.2 defect (VS)
Date: Fri, 19 Aug 2011 21:57:15 +0000

Revision: 5265
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5265
Author:   chicares
Date:     2011-08-19 21:57:15 +0000 (Fri, 19 Aug 2011)
Log Message:
-----------
Work around a wx-2.9.2 defect (VS)

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

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2011-08-19 21:45:15 UTC (rev 5264)
+++ lmi/trunk/ChangeLog 2011-08-19 21:57:15 UTC (rev 5265)
@@ -28357,3 +28357,16 @@
   skin_variable_annuity.xrc
 Use the input-sequence benefit types added 20110817T2009Z.
 
+20110819T2145Z <address@hidden> [622]
+
+  input_sequence_entry.cpp
+Diagnose more input problems in UponOpenEditor(). Previously, "345"
+in a keywords-only sequence went undiagnosed, and was silently changed
+to the default keyword. Now, it's diagnosed as "xyz" would be.
+
+20110819T2157Z <address@hidden> [622]
+
+  census_view.cpp
+Work around a wx-2.9.2 defect (VS). See:
+  http://lists.nongnu.org/archive/html/lmi/2011-08/msg00052.html
+

Modified: lmi/trunk/census_view.cpp
===================================================================
--- lmi/trunk/census_view.cpp   2011-08-19 21:45:15 UTC (rev 5264)
+++ lmi/trunk/census_view.cpp   2011-08-19 21:57:15 UTC (rev 5265)
@@ -913,6 +913,12 @@
 //    cell_parms().swap(expurgated_cell_parms); // TODO ?? Would this be 
better?
     cell_parms() = expurgated_cell_parms;
 
+#if !wxCHECK_VERSION(2,9,3)
+    // Remove selection to work around wx-2.9.2 bug in GetSelections()
+    // (we'll set it again below).
+    list_window_->UnselectAll();
+#endif
+
     // Send notifications about changes to the wxDataViewCtrl model. Two things
     // changed: some rows were deleted and cell number of some rows shifted
     // accordingly.




reply via email to

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