]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
Update handling and documentation for new window events. Clarify that you must handle...
[wxWidgets.git] / src / common / graphcmn.cpp
index 1ba501788fa5caf0d0f481001ab343b06af334b3..665621e274573369b215b23fe7c8c0038d210e6a 100644 (file)
@@ -534,7 +534,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxGraphicsContext, wxObject)
 wxGraphicsContext::wxGraphicsContext(wxGraphicsRenderer* renderer) :
     wxGraphicsObject(renderer),
       m_antialias(wxANTIALIAS_DEFAULT),
-      m_composition(wxCOMPOSITION_OVER)
+      m_composition(wxCOMPOSITION_OVER),
+      m_enableOffset(false)
 {
 }
 
@@ -564,6 +565,11 @@ void wxGraphicsContext::Flush()
 {
 }
 
+void wxGraphicsContext::EnableOffset(bool enable) 
+{ 
+    m_enableOffset = enable; 
+}
+
 #if 0
 void wxGraphicsContext::SetAlpha( wxDouble WXUNUSED(alpha) )
 {