Revert "fix build without graphics context"

This reverts commit 44c91fedb8 which is
not necessary for wxQt any more as wxGraphicsContext is available for it
now and didn't make much sense because wxActivityIndicator just can't be
used without wxGraphicsContext, so a proper fix would be to disable the
former completely if the latter is unavailable.
This commit is contained in:
Vadim Zeitlin 2017-11-06 02:16:07 +01:00
parent 3da6b9c14f
commit 2b02da2bbd

View File

@ -122,7 +122,7 @@ private:
void OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC pdc(m_win);
#if wxUSE_GRAPHICS_CONTEXT
wxScopedPtr<wxGraphicsContext> const
gc(wxGraphicsRenderer::GetDefaultRenderer()->CreateContext(pdc));
@ -167,7 +167,6 @@ private:
gc->FillPath(path);
gc->Rotate(angle);
}
#endif
}
AdvanceTimer m_timer;