diff --git a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp index e0931efa84..2d07d6b2d3 100644 --- a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp @@ -1126,7 +1126,7 @@ void wxTreeListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h ) GtkStateType state = m_parent->IsEnabled() ? GTK_STATE_NORMAL : GTK_STATE_INSENSITIVE; - x = dc->XLOG2DEV( x ); + x = dc->LogicalToDeviceX( x ); gtk_paint_box (m_wxwindow->style, GTK_PIZZA(m_wxwindow)->bin_window, state, GTK_SHADOW_OUT, diff --git a/wxPython/src/_dc.i b/wxPython/src/_dc.i index e69410a39c..90ddab72b5 100644 --- a/wxPython/src/_dc.i +++ b/wxPython/src/_dc.i @@ -883,12 +883,12 @@ colour. ", ""); - DocDeclStr( - void , ComputeScaleAndOrigin(), - "Performs all necessary computations for given platform and context -type after each change of scale and origin parameters. Usually called -automatically internally after such changes. -", ""); +// DocDeclStr( +// void , ComputeScaleAndOrigin(), +// "Performs all necessary computations for given platform and context +// type after each change of scale and origin parameters. Usually called +// automatically internally after such changes. +// ", "");