lmi
[Top][All Lists]
Advanced

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

[lmi] [PATCH] Add forgotten comment explaining focus changes


From: Vaclav Slavik
Subject: [lmi] [PATCH] Add forgotten comment explaining focus changes
Date: Sun, 17 Jul 2011 18:26:12 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Add forgotten comment explaining focus changes.

---
 input_sequence_entry.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/input_sequence_entry.cpp b/input_sequence_entry.cpp
index 18e0e0f..ac56bb2 100644
--- a/input_sequence_entry.cpp
+++ b/input_sequence_entry.cpp
@@ -1053,6 +1053,8 @@ InputSequenceTextCtrl::InputSequenceTextCtrl(wxWindow* 
parent, wxWindowID id)
 
 void InputSequenceTextCtrl::UponKillFocus(wxFocusEvent& event)
 {
+    // Don't notify the parent (and thus wxDataViewCtrl) of focus change if 
its within this
+    // InputSequenceEntry composite control.
     if(0 == event.GetWindow() || event.GetWindow()->GetParent() != GetParent())
         GetParent()->ProcessWindowEvent(event);
     event.Skip();
-- 
1.7.5.4



reply via email to

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