]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
Fixed loading greyscale with alpha TIFF images.
[wxWidgets.git] / src / common / dcgraph.cpp
index 1f7295a12ec61804252379364e95f12f54f0fee9..812ca0e4edc4628208da3cec2c4caa196c89a453 100644 (file)
@@ -121,6 +121,12 @@ wxGCDC::wxGCDC(const wxEnhMetaFileDC& dc)
 }
 #endif
 
+wxGCDC::wxGCDC(wxGraphicsContext* context) :
+    wxDC( new wxGCDCImpl( this ) )
+{
+    SetGraphicsContext(context);
+}
+
 wxGCDC::wxGCDC() :
   wxDC( new wxGCDCImpl( this ) )
 {