diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-12 15:06:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-13 14:58:39 +0000 |
commit | d29529cf9badda40eeb151a355fa0e6bd50912db (patch) | |
tree | f6a31d3affedb1aa47102a1f4120e52b6477c651 /vcl/source/window/dialog.cxx | |
parent | 4ce2602befd59e69264d8e4ced8730b40c2b947c (diff) |
add get_content_area and get_action_area to Dialog
Change-Id: I147cea986b8152e54586a0296e446652bd695a18
Diffstat (limited to 'vcl/source/window/dialog.cxx')
-rw-r--r-- | vcl/source/window/dialog.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index bea6412cb6e5..d76d359bc85e 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -560,6 +560,16 @@ WinBits Dialog::init(Window *pParent, const ResId& rResId) return nStyle; } +VclButtonBox* Dialog::get_action_area() +{ + return m_pUIBuilder ? m_pUIBuilder->get<VclButtonBox>("dialog-action_area1") : NULL; +} + +VclBox* Dialog::get_content_area() +{ + return m_pUIBuilder ? m_pUIBuilder->get<VclBox>("dialog-vbox1") : NULL; +} + // ----------------------------------------------------------------------- Dialog::~Dialog() |