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();