From de22ad09db21fe1354070cea8f1cd015efa768e9 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Mon, 14 Jan 2008 12:03:18 +0000 Subject: INTEGRATION: CWS awtfixes1 (1.2.142); FILE MERGED 2007/10/31 18:02:00 mmeeks 1.2.142.2: Submitted by: jcn Reviewed by: mmeeks More sizing fixes for vcl. 2007/08/17 13:52:57 mmeeks 1.2.142.1: Issue number: i#80754# Submitted by: mmeeks Start of virtual method for sizing ... --- vcl/inc/vcl/fixed.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vcl/inc/vcl/fixed.hxx') diff --git a/vcl/inc/vcl/fixed.hxx b/vcl/inc/vcl/fixed.hxx index c6780147d47f..4a62d17ca769 100644 --- a/vcl/inc/vcl/fixed.hxx +++ b/vcl/inc/vcl/fixed.hxx @@ -4,9 +4,9 @@ * * $RCSfile: fixed.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2007-04-11 17:53:32 $ + * last change: $Author: ihi $ $Date: 2008-01-14 13:03:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -85,7 +85,9 @@ public: virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); + static Size CalcMinimumTextSize( Control const* pControl, long nMaxWidth = 0 ); Size CalcMinimumSize( long nMaxWidth = 0 ) const; + virtual Size GetOptimalSize(WindowSizeType eType) const; }; // ------------- @@ -113,6 +115,8 @@ public: virtual void Resize(); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); + + virtual Size GetOptimalSize(WindowSizeType eType) const; }; // --------------- -- cgit v1.2.3