From: Ron Lee Date: Sun, 29 Dec 2002 15:45:35 +0000 (+0000) Subject: Oops, don't cut and paste between ports, and do test compile both states X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a8853c78ed61849d3939dcc89cfbe8db07a2bbda Oops, don't cut and paste between ports, and do test compile both states of a macro guard... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index 9908124e1f..8191e7d94d 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -230,7 +230,7 @@ public: { return GetItemParent( item ); } // Expose the base class method hidden by the one above. - wxWindow *GetParent() const { return wxScrolledWindow::GetParent(); } + wxWindow *GetParent() const { return wxControl::GetParent(); } #endif // WXWIN_COMPATIBILITY_2_2 // for this enumeration function you must pass in a "cookie" parameter