]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/listctrl.cpp
Fix for the wrong painting rectangle being set.
[wxWidgets.git] / src / stubs / listctrl.cpp
index 0f4ed673a59063659b382a2de53308f2d3b3c57e..2c11981bf2621628487b9d2ef9283c4895f9bb4d 100644 (file)
 #include "wx/stubs/textctrl.h"
 #include "wx/stubs/listctrl.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
 IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
 
-#endif
 
 wxListCtrl::wxListCtrl()
 {
@@ -266,7 +264,7 @@ bool wxListCtrl::SetItemData(long item, long data)
 }
 
 // Gets the item rectangle
-bool wxListCtrl::GetItemRect(long item, wxRectangle& rect, int code) const
+bool wxListCtrl::GetItemRect(long item, wxRect& rect, int code) const
 {
        // TODO
     return FALSE;