From: Robin Dunn Date: Mon, 21 Aug 2006 18:28:35 +0000 (+0000) Subject: Adapt to some wxDC methods becoming protected X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4caf1fc560f4508a652d78e06a1707a051e84799 Adapt to some wxDC methods becoming protected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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. +// ", "");