Skip to content
  • Rafael Kitover's avatar
    fix high CPU usage under wxgtk2 #260 · 89228b06
    Rafael Kitover authored
    When using GTK2, call DrawArea(dc) instead of GetWindow()->Refresh(),
    this prevents glib from using huge amounts of CPU (as discovered by
    @retro-wertz .)
    
    Switching video drivers sometimes crashes the app, the DrawArea() call
    is as safe as possible, the problem is elsewhere.
    89228b06