]> git.saurik.com Git - wxWidgets.git/commit
Applied patch [ 608370 ] fix for static text sizing behaviour
authorJulian Smart <julian@anthemion.co.uk>
Fri, 13 Sep 2002 13:17:12 +0000 (13:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 13 Sep 2002 13:17:12 +0000 (13:17 +0000)
commitfe5de1ea1041bc97e3e2735e6866ad3485eea78c
tree1be87b476ab859aa300b7241d83497941b3ef238
parent8b5be08a09b190d97df6b8938d4e56bf6284a263
Applied patch [ 608370 ] fix for static text sizing behaviour

wxStaticText is meant to resize when SetLabel is called
unless the flag wxST_NO_AUTORESIZE is used when
creating it. Motif currently ignores this flag and always
resizes the control.
The attached patch provides a wxStaticText specific
override of SetLabel() which honours the resize policy
requested via the wxST_NO_AUTORESIZE flag.

I have tested on AIX 4.3 which is Motif 2.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/motif/stattext.h
src/makeg95.env
src/motif/stattext.cpp