projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091ef14
)
removing additional offset - why did this ever work ?
author
Stefan Csomor
<csomor@advancedconcepts.ch>
Sat, 4 Nov 2006 10:38:15 +0000
(10:38 +0000)
committer
Stefan Csomor
<csomor@advancedconcepts.ch>
Sat, 4 Nov 2006 10:38:15 +0000
(10:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43014
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/treectlg.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/treectlg.cpp
b/src/generic/treectlg.cpp
index 32498c50937bf35e4bb504edad39002de91fda6a..1dd90fef81d32c53478107541ebcac8f6b293fe0 100644
(file)
--- a/
src/generic/treectlg.cpp
+++ b/
src/generic/treectlg.cpp
@@
-2232,8
+2232,12
@@
void wxGenericTreeCtrl::PaintItem(wxGenericTreeItem *item, wxDC& dc)
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
DoGetPosition(&x, &y);
+#endif
DoGetSize(&w, &h);
dc.DrawRectangle(x, item->GetY()+offset, w, total_h-offset);
}