I have a problem with first DrawText call. It never shows updated
string, just whatever it was on the start. Second one with static
string works as expected.
What I want to do is draw some text with color background behind some
characters but not the others.
Any suggestions much appreciated.
Have you verified that there is more than one paint event?
Please make a runnable, small as possible, sample application that demonstrates the problem, and let us know the platform and wx version. MakingSampleApps - wxPyWiki
···
On 3/23/12 12:22 PM, piotr jastrzebski wrote:
I have some code for drawing labels with transparent background:
I have a problem with first DrawText call. It never shows updated
string, just whatever it was on the start. Second one with static
string works as expected.
What I want to do is draw some text with color background behind some
characters but not the others.
Any suggestions much appreciated.