[wx-dev] Incorrect Appearance of wxStaticBox on wxGTK

Kit Bishop kit at bishop.net.nz
Mon Jul 28 14:57:49 PDT 2008


Environments:
1. openSUSE 11.0, wx2.8 up to date from SVN
2. WinXp, SP3, MinGW, wx2.8 up to date from SVN

I think I might be going mad!  In my app, I have several =

wxStaticBoxSizers.  I am sure that until recently they appeared =

correctly in both wxMSW and wxGTK - now they do not appear properly in =

wxGTK - the box is not showing - the label does show OK.

Unfortunatley, I don't know exactly when they stopped showing.  I keep =

my wx2.8 reasonably up to date from SVN.  I have, also, very recently =

upgraded from openSUSE 10.3 to openSUSE 11.0 - this may have something =

to do with it.

I have had a look at the wxGTK implementation of wxStaticBox and can see =

nothing wrong (having also looked at the relevant GTK documentation).

The only thing I can think of at present is that something is up with =

the latest gtk libraries I have with openSUSE 11.0. (Aside: how do I =

check the version of gtk libs I have installed?)

Has anyone else seen this problem?

I attach a small test application that shows the problem.  This works as =

expected on wxMSW (MinGW) but the box does not appear with wxGTK.

Any feedback would be most appreciated.

Best regards,
Kit Bishop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StaticBox.cpp
Type: text/x-c++src
Size: 1638 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20080729/07fc=
659f/StaticBox.cpp


More information about the wx-dev mailing list