summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/sqlmessage.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-02-05 08:48:50 +0000
committerFrank Schönheit <fs@openoffice.org>2001-02-05 08:48:50 +0000
commitc7f42a74a0a45299a7138bb3f896ea1299fb6df1 (patch)
treee86ede9eda9a379807d5f3cff99206b2e767e45f /dbaccess/source/ui/dlg/sqlmessage.cxx
parenteda310d50b8b89ec1f1ddfdc541d3d199c641b07 (diff)
unique id for the 'more' button
Diffstat (limited to 'dbaccess/source/ui/dlg/sqlmessage.cxx')
-rw-r--r--dbaccess/source/ui/dlg/sqlmessage.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index fd7b4dff8d67..c8724a575e4b 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sqlmessage.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: oj $ $Date: 2001-01-29 13:21:19 $
+ * last change: $Author: fs $ $Date: 2001-02-05 09:48:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,6 +98,9 @@
#ifndef _SFX_SFXUNO_HXX
#include <sfx2/sfxuno.hxx>
#endif
+#ifndef _DBA_DBACCESS_HELPID_HRC_
+#include "dbaccess_helpid.hrc"
+#endif
#define BUTTONID_MORE BUTTONID_RETRY + 1
@@ -437,6 +440,7 @@ void OSQLMessageBox::Construct(const UniString& rTitle,
m_pInfoButton = new PushButton(this);
m_pInfoButton->SetText(Button::GetStandardText(BUTTON_MORE));
m_pInfoButton->SetClickHdl(LINK(this,OSQLMessageBox,ButtonClickHdl));
+ m_pInfoButton->SetUniqueId(UID_SQLERROR_BUTTONMORE);
m_pInfoButton->Show();
AddButton(m_pInfoButton, BUTTONID_MORE, 0);
}
@@ -571,6 +575,9 @@ IMPL_LINK( OSQLMessageBox, ButtonClickHdl, Button *, pButton )
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.6 2001/01/29 13:21:19 oj
+ * use second exception for message text
+ *
* Revision 1.5 2000/12/08 17:56:46 fs
* #79541# wrong define in the previous brandname fix - and, cause I was just touching it, adjusted the changes to our own style :)
*