X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..1cf27c63497d5b4e435f90691ca83a0bb75a8426:/src/stubs/treectrl.cpp diff --git a/src/stubs/treectrl.cpp b/src/stubs/treectrl.cpp index 0b405a7106..137a885dbf 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,7 +13,8 @@ #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) @@ -251,7 +252,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 +282,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: