summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-03 21:08:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-09 22:14:48 +0100
commitca0cd6985adc7b321b9bc4affe79c4f26eab1722 (patch)
tree41c6ec5a704b015311556e92d4c243a4d7470430 /include
parent975a1934994ab1e7e5f2ac890f00159c73546a61 (diff)
Resolves: tdf#120977 intended default button overridden
for those cases where the built-in buttons are not inserted Change-Id: Ibb091832c097a15dc22a7994d94f8db6a4e47520 Reviewed-on: https://gerrit.libreoffice.org/64492 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 043c2f39bfd5f70885dede547cb3c3b78ed8c5b9) Reviewed-on: https://gerrit.libreoffice.org/64619
Diffstat (limited to 'include')
-rw-r--r--include/vcl/dialog.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 8c952c9b668a..e9a257378d34 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -180,6 +180,7 @@ public:
void add_button(PushButton* pButton, int nResponse, bool bTransferOwnership);
void set_default_response(int nResponse);
+ int get_default_response();
vcl::Window* get_widget_for_response(int nResponse);
};