diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:17:04 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:17:04 +0000 |
commit | 9af4f6be4c5423e55ce4f8e86c16d11f42361167 (patch) | |
tree | eaf5d8ce5f0339ec61751c4009d8ab6f71f62cc9 /svtools/source/misc | |
parent | fcda6d5e6d0c2974cc23d9342440ee871adfac57 (diff) |
INTEGRATION: CWS frmcontrols04 (1.8.254); FILE MERGED
2004/03/31 10:28:36 dv 1.8.254.1: #i26046# Use PushButton::GetModeImage() instead of GetImage()
Diffstat (limited to 'svtools/source/misc')
-rw-r--r-- | svtools/source/misc/helpagentwindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/misc/helpagentwindow.cxx b/svtools/source/misc/helpagentwindow.cxx index 2f6be145c0e3..ab12bf635f4c 100644 --- a/svtools/source/misc/helpagentwindow.cxx +++ b/svtools/source/misc/helpagentwindow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: helpagentwindow.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: vg $ $Date: 2003-07-22 11:12:03 $ + * last change: $Author: obo $ $Date: 2004-07-05 16:17:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -128,7 +128,7 @@ namespace svt Bitmap aCloserBitmap(SvtResId(BMP_HELP_AGENT_CLOSER)); Image aCloserImage( aCloserBitmap, Color(COL_LIGHTMAGENTA) ); m_pCloser = new CloserButton_Impl( this, WB_NOTABSTOP | WB_NOPOINTERFOCUS ); - static_cast<CloserButton_Impl*>(m_pCloser)->SetImage( aCloserImage ); + static_cast<CloserButton_Impl*>(m_pCloser)->SetModeImage( aCloserImage ); static_cast<CloserButton_Impl*>(m_pCloser)->SetClickHdl( LINK(this, HelpAgentWindow, OnButtonClicked) ); m_pCloser->SetSizePixel( implOptimalButtonSize(aCloserImage) ); m_pCloser->Show(); |