Draw bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-02-22 14:30:14 +00:00
parent c14e964847
commit 91fdca5b17
2 changed files with 30 additions and 26 deletions

View File

@@ -143,6 +143,8 @@ wxRendererGTK::DrawTreeItemButton(wxWindow* win,
GtkStyle *style = win->m_widget->style; GtkStyle *style = win->m_widget->style;
int x = rect.x; int x = rect.x;
int y = rect.y; int y = rect.y;
y = dc.LogicalToDeviceY( y );
x = dc.LogicalToDeviceX( x );
#if 1 #if 1
// This draws the GTK+ 2.2.4 triangle // This draws the GTK+ 2.2.4 triangle

View File

@@ -143,6 +143,8 @@ wxRendererGTK::DrawTreeItemButton(wxWindow* win,
GtkStyle *style = win->m_widget->style; GtkStyle *style = win->m_widget->style;
int x = rect.x; int x = rect.x;
int y = rect.y; int y = rect.y;
y = dc.LogicalToDeviceY( y );
x = dc.LogicalToDeviceX( x );
#if 1 #if 1
// This draws the GTK+ 2.2.4 triangle // This draws the GTK+ 2.2.4 triangle