X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..d6c9c1b71e069396bbe3850862de9aa10e6812e0:/src/stubs/treectrl.cpp diff --git a/src/stubs/treectrl.cpp b/src/stubs/treectrl.cpp index 0b405a7106..3aea32e970 100644 --- a/src/stubs/treectrl.cpp +++ b/src/stubs/treectrl.cpp @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: treectrl.cpp -// Purpose: wxTreeCtrl +// Purpose: wxTreeCtrl. See also Robert's generic wxTreeCtrl. // Author: AUTHOR // Modified by: // Created: ??/??/98 @@ -13,13 +13,12 @@ #pragma implementation "treectrl.h" #endif -#include "wx/treectrl.h" +#include "wx/stubs/textctrl.h" +#include "wx/stubs/treectrl.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxTreeItem, wxObject) -#endif wxTreeCtrl::wxTreeCtrl() { @@ -251,7 +250,7 @@ bool wxTreeCtrl::SetItemData(long item, long data) return SetItem(info); } -bool wxTreeCtrl::GetItemRect(long item, wxRectangle& rect, bool textOnly) const +bool wxTreeCtrl::GetItemRect(long item, wxRect& rect, bool textOnly) const { // TODO return FALSE; @@ -281,11 +280,9 @@ bool wxTreeCtrl::ExpandItem(long item, int action) break; case wxTREE_EXPAND_COLLAPSE_RESET: - mswAction = TVE_COLLAPSERESET; break; case wxTREE_EXPAND_TOGGLE: - mswAction = TVE_TOGGLE; break; default: