]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/treectrl.cpp
Fix to excule OnPaint from WXPM
[wxWidgets.git] / src / stubs / treectrl.cpp
index 5f346b38bc83686317c9e644e358078e2b16669c..3aea32e970e95e791b783448a9c81f198ab64193 100644 (file)
 #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;