wxTextCtrl show hints on the white background in dark mode (wxMSW) (Issue #26846)

21 views
Skip to first unread message

BazaarAcc32

unread,
Aug 16, 2026, 6:39:11 AMAug 16
to wx-...@googlegroups.com, Subscribed
BazaarAcc32 created an issue (wxWidgets/wxWidgets#26846)

Description

If the autocompletion list was specified via wxTextCtrl::AutoComplete(), then while typing the text the hints are shown on a white background in Dark Mode.

Expected vs observed behaviour:

When typing, hints should be shown on a dark background.

To Reproduce:

#include <wx/wx.h>

class MyFrame : public wxFrame
{
public:
    MyFrame() : wxFrame(nullptr, wxID_ANY, "AutoComplete")
    {
        wxTextCtrl* text = new wxTextCtrl(this, wxID_ANY);

        wxArrayString hints;
        hints.Add("Apple");
        hints.Add("Apricot");
        hints.Add("Banana");
        hints.Add("Orange");
        hints.Add("Pineapple");

        text->AutoComplete(hints);
    }
};

class MyApp : public wxApp
{
public:
    bool OnInit() override
    {
        MSWEnableDarkMode(wxApp::DarkMode_Always);
        MyFrame* frame = new MyFrame();
        frame->Show();
        return true;
    }
};

wxIMPLEMENT_APP(MyApp);

Platform and version information

  • wxWidgets version you use: 3.3.4 (master branch)
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 11


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26846@github.com>

BazaarAcc32

unread,
Aug 29, 2026, 9:55:26 AM (3 days ago) Aug 29
to wx-...@googlegroups.com, Subscribed
BazaarAcc32 left a comment (wxWidgets/wxWidgets#26846)

@vadz
Excuse me, do you have any plans to fix this issue? I'd like to know because I don't know what to do next. If you don't plan to fix it, then I'll try to implement it myself, using a custom popup window.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26846/5462803542@github.com>

VZ

unread,
Aug 29, 2026, 10:14:00 AM (3 days ago) Aug 29
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26846)

Sorry, I didn't have time to look at this and don't know how to fix it right now.

Generally speaking, if I don't reply to some issue or question, it's because I don't have anything useful to say...


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/26846/5462891044@github.com>

Reply all
Reply to author
Forward
0 new messages