I asked about static casts and if to use get event object to know if I could use them to make a patch to fix the warnings issue because of the unused event argument in event handlers. static casts costs nothing since it's a compile time thing; c style casts are discouraged in c++, then using them for get event object, which I see is always same as the requested widget, would silent the unused argument warnings. Otherwise just remove the event argument from the function would do.
From your screenshot I guess that is the best you can do with 3.0.x, which lacks some fixes in 3.1.x for dark themes, in my case it works fine, probably the theme I'm using takes more the text color into account than others, IDK. Anyway I tested your last changes in r64 and the colors and the popup menu are OK here, though the window position is not working, and I don't understand why, though I haven't dig into the issue much. About the wxEVT_MOVE family looks like there were some error in documentation...
From your screenshot I guess that is the best you can do with 3.0.x, which lacks some fixes in 3.1.x for dark themes, in my case it works fine, probably the theme I'm using takes more the text color into account than others, IDK. Anyway I tested your last changes in r64 and the colors and the popup menu are OK here, though the window position is not working, and I don't understand why, though I haven't dig into the issue much. About the wxEVT_MOVE family looks like there were some error in documentation...
wxMoveEvent is only used by MSW so it's not really useful. this doesn't sound to be true, I recall I used it in the past and as I said in the OP it worked, I'm using Archlinux, it saves the position when moved before closing, though it doesn't fix the original issue. Changing to a dark theme on Ubuntu 20.04 destroy the listctrl readability completely. Dark theme is something that doesn't work but not even a problem on Windows, at least up to 10, but it's used on Linux and macOS. Usually the solution...
wxMoveEvent is only used by MSW so it's not really useful. this doesn't sound to be true, I recall I used it in the past and as I said in the OP it worked, I'm using Archlinux, it saves the position when moved before closing, though it doesn't fix the original issue. Changing to a dark theme on Ubuntu 20.04 destroy the listctrl readability completely. Dark theme is something that doesn't work but not even a problem on Windows, at least up to 10, but it's used on Linux and macOS. Usually the solution...
wxMoveEvent is only used by MSW so it's not really useful. this doesn't sound to be true, I recall I used it in the past and as I said in the OP it worked, I'm using Archlinux, it saves the position when moved before closing, though it doesn't fix the original issue. Changing to a dark theme on Ubuntu 20.04 destroy the listctrl readability completely. Dark theme is something that doesn't work but not even a problem on Windows, at least up to 10, but it's used on Linux and macOS. Usually the solution...
UI issues