]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/graphcmn.cpp
disabling multiline text controls correctly
[wxWidgets.git] / src / common / graphcmn.cpp
index 99a42c8a958c84e6ff14e25cff6ce0e261eabbee..5bc8a8824a60d945926ccaccb44428545ebd9dc1 100644 (file)
@@ -872,12 +872,14 @@ wxGraphicsBitmap wxGraphicsContext::CreateSubBitmap( const wxGraphicsBitmap &bmp
 }
 #endif
 
+#ifdef __WXMSW__
 #if wxUSE_ENH_METAFILE
 /* static */ wxGraphicsContext* wxGraphicsContext::Create( const wxEnhMetaFileDC& dc)
 {
     return wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(dc);
 }
 #endif
+#endif
 
 wxGraphicsContext* wxGraphicsContext::CreateFromNative( void * context )
 {