Setshape doesn't seems to work in linux

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Raghu
Experienced Solver
Experienced Solver
Posts: 79
Joined: Wed Oct 19, 2005 11:33 am

Setshape doesn't seems to work in linux

Post by Raghu »

I created a frame and gave it rounded rectangular shape using SetShape(). It worked fine for windows. But It doesn't seems to work on linux. Actual window frame(boundary) is still visible in linux. Is there any other way?
leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post by leio »

It ought to work fine.
Do you have the SHAPE extension in your X11? Usually this is available unless you have a really old or weird X server. You could check with the xdpyinfo command.
If you do have the SHAPE extension, then you could check if the shape sample works good.
If it does, then showing a little bit of code might be helpful.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
Post Reply