Image drawn mirrored - wxWidgets or UserError?
Posted: Thu Feb 12, 2009 9:12 am
Hi, I’m experimentation with making an application support Right to Left layout.
I used this call SetProcessDefaultLayout (LAYOUT_RTL);
To flip all windows made by my main process. More info is available here.
http://msdn.microsoft.com/en-us/goglobal/bb688119.aspx
I noticed that my images are mirrored also. That was not indented.
I decided to test on a smaller and simpler application, so I used the Sample wxImage application.
Here is some footage.
Here is the application directory with the images it uses. Notice how the images look.

Next up the application. Whoo, the images look ok, all images are drawn as I hoped for.

Ok, in the application there is an option to show any image. I will now use this to show a jpeg and a gif file.
Here are the images. They are the same, just one in gif, and the other jpeg.

Now see how jpeg image is drawn. Looks ok.

Now here is the gif – why???

Mostly all my gifs go like this. Except the one gif that is used in the application itself. Look if I open up the horse.gif

I used this call SetProcessDefaultLayout (LAYOUT_RTL);
To flip all windows made by my main process. More info is available here.
http://msdn.microsoft.com/en-us/goglobal/bb688119.aspx
I noticed that my images are mirrored also. That was not indented.
I decided to test on a smaller and simpler application, so I used the Sample wxImage application.
Here is some footage.
Here is the application directory with the images it uses. Notice how the images look.

Next up the application. Whoo, the images look ok, all images are drawn as I hoped for.

Ok, in the application there is an option to show any image. I will now use this to show a jpeg and a gif file.
Here are the images. They are the same, just one in gif, and the other jpeg.

Now see how jpeg image is drawn. Looks ok.

Now here is the gif – why???

Mostly all my gifs go like this. Except the one gif that is used in the application itself. Look if I open up the horse.gif
