Fix wxX11 build with --disable-graphics_ctx build option.

Add missing #if wxUSE_CAIRO checks.

Closes https://github.com/wxWidgets/wxWidgets/pull/1472
This commit is contained in:
georgp24
2019-08-07 19:27:00 +02:00
committed by Vadim Zeitlin
parent 5a394deba4
commit 8e41677989
2 changed files with 10 additions and 1 deletions

View File

@@ -107,8 +107,9 @@ public:
WXWindow GetX11Window() const { return m_x11window; }
virtual void ComputeScaleAndOrigin();
#if wxUSE_CAIRO
virtual void* GetCairoContext() const wxOVERRIDE;
#endif
protected:
// implementation