Commit ed00dc77 authored by Rafael Kitover's avatar Rafael Kitover
Browse files

use GetWindow()->Refresh() on non-GTK too #260

Default to GetWindow()->Refresh() to draw the game area on non-GTK
platforms as well, and only use the DrawArea(dc) method in GTK2 and
parent 89228b06
......@@ -1819,7 +1819,7 @@ void DrawingPanelBase::DrawArea(uint8_t** data)
// next, draw the frame (queue a PaintEv) Refresh must be used under
// Wayland or nothing is drawn, however it causes high CPU usage with GTK2,
// so use the old method in that case
#ifdef __WXGTK3__
#if !defined(__WXGTK__) || defined(__WXGTK3__)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment