#26970·wxWidgets

wxStyledTextCtrl: Native minimap disappears when autocomplete closes

Author: apozinnCreated Sep 4, 2026Updated Sep 10, 2026

When using the native minimap (wxStyledTextCtrlMiniMap) in wxStyledTextCtrl, the minimap disappears every time the autocomplete popup closes, either by selection or cancellation.

Environment:

wxWidgets 3.3.3

Arch Linux

GTK3

Steps to reproduce:

Enable minimap with: new wxStyledTextCtrlMiniMap(this, editor);

Show autocomplete with AutoCompShow()

Close autocomplete (Enter or Escape)

Expected: Minimap stays visible.

Actual: Minimap disappears.