diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2001-05-04 14:54:47 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2001-05-04 14:54:47 +0000 |
commit | 0e079b2ccfc3510095ecaae0632ba556720d5537 (patch) | |
tree | a5695ed04816210ddfe51a360c088de68d9fcc38 /vcl | |
parent | afdf36f742a20bda61695cdf01c55b5952a5a848 (diff) |
default text for checkbox in msgbox
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/src/stdtext.src | 10 | ||||
-rw-r--r-- | vcl/source/window/msgbox.cxx | 12 |
2 files changed, 18 insertions, 4 deletions
diff --git a/vcl/source/src/stdtext.src b/vcl/source/src/stdtext.src index 797ee8af0a99..6c76cbf391b0 100644 --- a/vcl/source/src/stdtext.src +++ b/vcl/source/src/stdtext.src @@ -2,9 +2,9 @@ * * $RCSfile: stdtext.src,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kz $ $Date: 2001-04-11 18:04:25 $ + * last change: $Author: ssa $ $Date: 2001-05-04 15:54:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,3 +89,9 @@ String SV_STDTEXT_SERVICENOTAVAILABLE Text[ turkish ] = "Bir bileen (%s) yklenemedi.\nSetup programn altrp onarnz."; Text[ language_user1 ] = " "; }; + +String SV_STDTEXT_DONTWARNAGAIN +{ + Text = "Diesen Hinweis nicht mehr anzeigen."; + Text [English] = "Do not warn me again."; +}; diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 6f0b777bde41..6591278de6a6 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: msgbox.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: ssa $ $Date: 2001-04-27 14:19:33 $ + * last change: $Author: ssa $ $Date: 2001-05-04 15:54:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -462,6 +462,14 @@ void MessBox::SetCheckBoxState( BOOL bCheck ) // ----------------------------------------------------------------------- +void MessBox::SetDefaultCheckBoxText() +{ + XubString rText( ResId( SV_STDTEXT_DONTWARNAGAIN, ImplGetResMgr() ) ); + maCheckBoxText = rText; +} + +// ----------------------------------------------------------------------- + void InfoBox::ImplInitData() { // Default Text is the display title from the application |