]> git.saurik.com Git - wxWidgets.git/commitdiff
Adapt to some wxDC methods becoming protected
authorRobin Dunn <robin@alldunn.com>
Mon, 21 Aug 2006 18:28:35 +0000 (18:28 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 21 Aug 2006 18:28:35 +0000 (18:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp
wxPython/src/_dc.i

index e0931efa84582ae30a4ba08beadd46398951f724..2d07d6b2d3c5a37822759a741adcaaf1cb66792f 100644 (file)
@@ -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,
index e69410a39ce1d8053ef7a3706b9b0f712484e291..90ddab72b5f6a8ce51fedc1c307ad12a1ae3c939 100644 (file)
@@ -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.
+// ", "");