]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dc.cpp
Add wxActivateEvent::GetActivationReason().
[wxWidgets.git] / src / gtk / dc.cpp
index 52abd3b2bea78827c2aa6709ed3ddb3d9c9d1ff0..7640bf3c6e0cad1ba1c0ef081ab8ed28c1afc56b 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk/dc.cpp
 // Purpose:
 // Author:      Robert Roebling
-// RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -182,8 +181,6 @@ void* wxGTKCairoDCImpl::GetCairoContext() const
     cairo_t* cr = NULL;
     if (m_graphicContext)
         cr = static_cast<cairo_t*>(m_graphicContext->GetNativeContext());
-    if (cr)
-        cairo_reference(cr);
     return cr;
 }
 //-----------------------------------------------------------------------------