diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-08-27 09:33:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:40 +0100 |
commit | 0a9ab848a66045043770d8d6a8ca70129e3bd1ce (patch) | |
tree | 8948102832aa9bd5d54a0137474073085cdb1cc6 /vcl/source/window/dialog.cxx | |
parent | 3a369c42777bb4fa8a8fc5342544f60e740c94ea (diff) |
seperate layout from resize
so layout can be triggered by queue_resize without calling
virtual overrides of Resize
Change-Id: Ibf7a4b763d05d9aa401cb15e510632410aeca30b
Diffstat (limited to 'vcl/source/window/dialog.cxx')
-rw-r--r-- | vcl/source/window/dialog.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 11cf7da33b63..43b700c12f80 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -1222,7 +1222,7 @@ IMPL_LINK( Dialog, ImplHandleLayoutTimerHdl, void*, EMPTYARG ) return 0; } -void Dialog::Resize() +void Dialog::queue_layout() { if (hasPendingLayout()) return; @@ -1233,6 +1233,11 @@ void Dialog::Resize() maLayoutTimer.Start(); } +void Dialog::Resize() +{ + queue_layout(); +} + bool Dialog::set_property(const rtl::OString &rKey, const rtl::OString &rValue) { if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("border-width"))) |