From 474b0ba4888368dbd47a6b65d0677e7ac0070fea Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Wed, 1 Oct 2008 17:20:11 +0000 Subject: [PATCH] Added useful comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/propgrid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index c829ac74cc..56b7b8cc8a 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -3636,6 +3636,12 @@ bool wxPropertyGrid::DoSelectProperty( wxPGProperty* p, unsigned int flags ) goodPos, grect.GetSize()); + // + // Below, bear in mind the difference between primaryCtrl and m_wndEditor: + // m_wndEditor is the actual wxWindow on canvas, and primaryCtrl is + // the actual editor control. They may different if wxPGClipperWindow is + // used for this editor. + // m_wndEditor = wndList.m_primary; m_wndEditor2 = wndList.m_secondary; wxWindow* primaryCtrl = GetEditorControl(); -- 2.45.2