]> git.saurik.com Git - wxWidgets.git/commitdiff
fix compilation after r56753 (closes #10218)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Nov 2008 22:40:13 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 22 Nov 2008 22:40:13 +0000 (22:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/graphics.cpp

index 3206465ba654717e3bc2cffd7860e200d76dc24e..210f3e0f9f713455576e81d86409407a5d8eb8fa 100644 (file)
@@ -1284,10 +1284,10 @@ void wxGDIPlusContext::DoDrawFilledText(const wxString& str,
     if ( str.IsEmpty())
         return ;
 
-    const wxGDIPlusFontData * const
+    wxGDIPlusFontData * const
         fontData = (wxGDIPlusFontData *)m_font.GetRefData();
-    const wxGDIPlusBrushData * const
-        brushData = (wxGDIPlusBrushData *)m_brush.GetRefData();
+    wxGDIPlusBrushData * const
+        brushData = (wxGDIPlusBrushData *)brush.GetRefData();
 
     m_context->DrawString
                (