]> git.saurik.com Git - wxWidgets.git/commitdiff
Added useful comment
authorJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 1 Oct 2008 17:20:11 +0000 (17:20 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Wed, 1 Oct 2008 17:20:11 +0000 (17:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index c829ac74cce4b1828490a281043326ab3ac7c195..56b7b8cc8a82db03a4e7f74e7e2587a93beeb1e0 100644 (file)
@@ -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();