lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [5233] Set default pushbutton to improve keyboard navigati


From: Greg Chicares
Subject: [lmi-commits] [5233] Set default pushbutton to improve keyboard navigation
Date: Sun, 07 Aug 2011 16:18:27 +0000

Revision: 5233
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5233
Author:   chicares
Date:     2011-08-07 16:18:27 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
Set default pushbutton to improve keyboard navigation

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

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2011-08-07 16:09:47 UTC (rev 5232)
+++ lmi/trunk/ChangeLog 2011-08-07 16:18:27 UTC (rev 5233)
@@ -28157,3 +28157,9 @@
 Improve pop-up dialog placement (VS). See:
   http://lists.nongnu.org/archive/html/lmi/2011-07/msg00017.html
 
+20110807T1618Z <address@hidden> [637]
+
+  input_sequence_entry.cpp
+Set default pushbutton to improve keyboard navigation. See:
+  http://lists.nongnu.org/archive/html/lmi/2011-07/msg00013.html
+

Modified: lmi/trunk/input_sequence_entry.cpp
===================================================================
--- lmi/trunk/input_sequence_entry.cpp  2011-08-07 16:09:47 UTC (rev 5232)
+++ lmi/trunk/input_sequence_entry.cpp  2011-08-07 16:18:27 UTC (rev 5233)
@@ -326,6 +326,7 @@
     buttons->AddButton(ok_button_ = new(wx) wxButton(this, wxID_OK));
     buttons->AddButton(cancel_button_ = new(wx) wxButton(this, wxID_CANCEL));
     buttons->Realize();
+    ok_button_->SetDefault();
 
     top->Add(buttons, wxSizerFlags().Expand().Border());
 




reply via email to

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