git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43014 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
     if ( HasFlag(wxTR_FULL_ROW_HIGHLIGHT) )
     {
         int x, y, w, h;
     if ( HasFlag(wxTR_FULL_ROW_HIGHLIGHT) )
     {
         int x, y, w, h;
+        // TODO : using DoGetPosition should be wrong on any platform, the dc is focused on this window
+#ifdef __WXMAC__
+        x=y=0;
+#else
         DoGetSize(&w, &h);
         dc.DrawRectangle(x, item->GetY()+offset, w, total_h-offset);
     }
         DoGetSize(&w, &h);
         dc.DrawRectangle(x, item->GetY()+offset, w, total_h-offset);
     }