summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorGene Anaya <ganaya@openoffice.org>2000-11-13 20:12:25 +0000
committerGene Anaya <ganaya@openoffice.org>2000-11-13 20:12:25 +0000
commit1f446c2e447f6982dc5adde30a0ec68fb81a18a2 (patch)
tree1bedadf871bf2f23399d2ec3c5a65e7fe3f11237 /vcl
parented7e68ccc92e6794245e76f0d2fac5aa7eb65562 (diff)
Added implementation for SetTitle
Diffstat (limited to 'vcl')
-rw-r--r--vcl/aqua/source/window/salframe.cxx7
1 files changed, 5 insertions, 2 deletions
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);
}
// -----------------------------------------------------------------------