Draw bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user