wxWidgets controls paint/draw/display issue on Windows

204 views Asked by At

I built a small wxFrame GUI, originally on Linux using CodeLite+wxCrafter, but on Windows the controls are not visible until I click on a notebook page and back, or resize the form, or hover the mouse over a control. I created a new Windows CodeLite+wxCrafter project and it does not display this issue. I tried comparing all the details between the two projects to see what differences there were, but couldn't find any that fixed the issue. I'm puzzled.

For example, this is what I see when I run the app:

enter image description here

After clicking on the Advanced Page and then back to the Run Page or resizing the form, this is what I see:

enter image description here

Or if I hover my mouse over say a wxButton (Open) it shows up:

enter image description here

This is what it should look like, after I click on the Advanced Page and back to the Run Page or resize the form, and then hover my mouse across all the text controls.

enter image description here

Any ideas what the display issue is?

0

There are 0 answers