summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-03-02 08:42:40 +0000
committerFrank Schönheit <fs@openoffice.org>2001-03-02 08:42:40 +0000
commit44c2ce94fe1c2401ece32159a405aae15ce02f46 (patch)
tree3dfcc459239087ab3c4ce73dc7327fa00f781539
parent5edfb08ec6e740cdc65d78e1dce446592a8549ad (diff)
#84540# #84541# corrected the Next button behaviour on the first and last tab page
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx19
-rw-r--r--extensions/source/dbpilots/groupboxwiz.hxx9
2 files changed, 24 insertions, 4 deletions
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 3c0f5a566..f3b5f1715 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: groupboxwiz.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2001-02-28 09:18:30 $
+ * last change: $Author: fs $ $Date: 2001-03-02 09:42:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -349,6 +349,12 @@ namespace dbp
}
//---------------------------------------------------------------------
+ sal_Bool ORadioSelectionPage::determineNextButtonState()
+ {
+ return 0 != m_aExistingRadios.GetEntryCount();
+ }
+
+ //---------------------------------------------------------------------
void ORadioSelectionPage::implCheckMoveButtons()
{
sal_Bool bHaveSome = (0 != m_aExistingRadios.GetEntryCount());
@@ -550,6 +556,12 @@ namespace dbp
}
//---------------------------------------------------------------------
+ sal_Bool OFinalizeGBWPage::determineNextButtonState()
+ {
+ return sal_False;
+ }
+
+ //---------------------------------------------------------------------
void OFinalizeGBWPage::initializePage()
{
OGBWPage::initializePage();
@@ -576,6 +588,9 @@ namespace dbp
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.3 2001/02/28 09:18:30 fs
+ * finalized the list/combo wizard
+ *
* Revision 1.2 2001/02/23 15:19:08 fs
* some changes / centralizations - added the list-/combobox wizard
*
diff --git a/extensions/source/dbpilots/groupboxwiz.hxx b/extensions/source/dbpilots/groupboxwiz.hxx
index 566e07271..ae57962ed 100644
--- a/extensions/source/dbpilots/groupboxwiz.hxx
+++ b/extensions/source/dbpilots/groupboxwiz.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: groupboxwiz.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2001-02-28 09:18:30 $
+ * last change: $Author: fs $ $Date: 2001-03-02 09:42:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -157,6 +157,7 @@ namespace dbp
// OWizardPage overridables
virtual void initializePage();
virtual sal_Bool commitPage(COMMIT_REASON _eReason);
+ virtual sal_Bool determineNextButtonState();
DECL_LINK( OnMoveEntry, PushButton* );
DECL_LINK( OnEntrySelected, ListBox* );
@@ -256,6 +257,7 @@ namespace dbp
// OWizardPage overridables
virtual void initializePage();
virtual sal_Bool commitPage(COMMIT_REASON _eReason);
+ virtual sal_Bool determineNextButtonState();
};
//.........................................................................
@@ -267,6 +269,9 @@ namespace dbp
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.3 2001/02/28 09:18:30 fs
+ * finalized the list/combo wizard
+ *
* Revision 1.2 2001/02/23 15:19:08 fs
* some changes / centralizations - added the list-/combobox wizard
*