Don't hard code horizontal border for wxStaticBox in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:07 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:07 +0000 (16:33 +0000)
commita19d4096a996ddc55859d49f25af5da9a76c6e9f
tree036d62b00f8809606288eb4f7f11384cd18e2c1b
parent10da53a25017db251249c42ed21802cb47c9cafc
Don't hard code horizontal border for wxStaticBox in wxGTK.

Compute the border width from the average character width instead of hard
coding it to 5 pixels. Probably doesn't make much difference in practice, but
seems to make more sense.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/statbox.cpp