I just started using wxWindows a few weeks ago and I'm very impressed. I've
been using it primarily on Linux and all looks wonderful. Yesterday I began
transfering it to Windows 95 and I ran into a few snags. I'm hoping someone
could point out what my problem is and/or point me to a workaround.
In no particular order:
* I'm using XPMs for bitmaps and icons on Linux. Under Windows they work OK
for bitmaps, but I can't successfully create an icon:
icon = wxIcon(home + "ctool.xpm", wxBITMAP_TYPE_XPM) # This doesn't
work
bitmap = wxBitmap(home + "ctool.xpm", wxBITMAP_TYPE_XPM) # This does
Is there any way I can get this to work, or am I going to have to figure out
how to convert my XPM file to ICO files?
* Setting the background on a wxTextCtrl under Windows doesn't appear to do
anything. (I called Refresh on the control and that didn't help).
* wcDC.DrawRotatedText draws nonrotated text under Windows. I've worked
around it by drawing to a bitmap, rotating the bitmap and blitting it back
to the DC, but it's a little sketchy.
* The behaviour of wxNotebook is different under Windows than under Linux.
Under Linux, if a page is made invisible (page.Show(0)), the page and it's
tab disappear from the Notebook until the page is Shown again. Under
Windows, this appears to have no effect. I have an addequate workaround (I
remove the offending page from the notebook), but I'm curious as to why
there's a difference.