From 1f446c2e447f6982dc5adde30a0ec68fb81a18a2 Mon Sep 17 00:00:00 2001 From: Gene Anaya Date: Mon, 13 Nov 2000 20:12:25 +0000 Subject: Added implementation for SetTitle --- vcl/aqua/source/window/salframe.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vcl/aqua/source/window/salframe.cxx') diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index 2e5a05211e2e..173568183b8e 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -2,9 +2,9 @@ * * $RCSfile: salframe.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: pluby $ $Date: 2000-11-13 03:21:03 $ + * last change: $Author: ganaya $ $Date: 2000-11-13 21:12:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -166,6 +166,9 @@ BOOL SalFrame::PostEvent( void* pData ) void SalFrame::SetTitle( const XubString& rTitle ) { + ByteString aByteTitle( rTitle, gsl_getSystemTextEncoding() ); + char *pTitle = (char*)aByteTitle.GetBuffer(); + VCLWindow_SetTitle(maFrameData.mhWnd, pTitle); } // ----------------------------------------------------------------------- -- cgit