X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..300b1288331acc7ac3482595bb226a52f8aec238:/src/stubs/treectrl.cpp?ds=sidebyside

diff --git a/src/stubs/treectrl.cpp b/src/stubs/treectrl.cpp
index 5f346b38bc..3aea32e970 100644
--- a/src/stubs/treectrl.cpp
+++ b/src/stubs/treectrl.cpp
@@ -16,11 +16,9 @@
 #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()
 {
@@ -252,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;