diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/wizdlg.hxx | 2 | ||||
-rw-r--r-- | include/svx/sidebar/PanelLayout.hxx | 2 | ||||
-rw-r--r-- | include/vcl/dialog.hxx | 2 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 2 | ||||
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 3 |
6 files changed, 7 insertions, 6 deletions
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index 8d26dc40305c..4efca16599ad 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -264,7 +264,7 @@ public: virtual void ActivatePage(); virtual long DeactivatePage(); - virtual void queue_resize() SAL_OVERRIDE; + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT) SAL_OVERRIDE; bool ShowPrevPage(); bool ShowNextPage(); diff --git a/include/svx/sidebar/PanelLayout.hxx b/include/svx/sidebar/PanelLayout.hxx index 3dc4bfcee18d..13b6086b63fd 100644 --- a/include/svx/sidebar/PanelLayout.hxx +++ b/include/svx/sidebar/PanelLayout.hxx @@ -36,7 +36,7 @@ public: virtual Size GetOptimalSize() const SAL_OVERRIDE; virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags = WINDOW_POSSIZE_ALL) SAL_OVERRIDE; - virtual void queue_resize() SAL_OVERRIDE; + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT) SAL_OVERRIDE; }; diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index 8776ec0cc465..27c79e1c6d3d 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -104,7 +104,7 @@ public: bool isLayoutEnabled() const; void setOptimalLayoutSize(); bool isCalculatingInitialLayoutSize() const { return mbIsCalculatingInitialLayoutSize; } - virtual void queue_resize() SAL_OVERRIDE; + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT) SAL_OVERRIDE; virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE; VclButtonBox* get_action_area() { return mpActionArea;} VclBox* get_content_area() { return mpContentArea;} diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index b05458361fb4..a68103802e06 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -40,7 +40,7 @@ public: m_bLayoutDirty = true; } - virtual void queue_resize() SAL_OVERRIDE; + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT) SAL_OVERRIDE; protected: //these are the two that need to be implemented by //containers, figure out how much space you want... diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 81057996b3ee..00e3a06974ea 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -193,7 +193,7 @@ public: mbLayoutDirty = true; } - virtual void queue_resize() SAL_OVERRIDE; + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT) SAL_OVERRIDE; }; #endif // INCLUDED_VCL_TABCTRL_HXX diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 2d68c7ae19e8..40ea0095d165 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -247,6 +247,7 @@ typedef sal_uInt16 StateChangedType; #define STATE_CHANGE_READONLY ((StateChangedType)16) #define STATE_CHANGE_EXTENDEDSTYLE ((StateChangedType)17) #define STATE_CHANGE_MIRRORING ((StateChangedType)18) +#define STATE_CHANGE_LAYOUT ((StateChangedType)19) #define STATE_CHANGE_CONTROL_FOCUS ((StateChangedType)20) #define STATE_CHANGE_USER ((StateChangedType)10000) @@ -1201,7 +1202,7 @@ public: * * akin to gtk_widget_queue_resize */ - virtual void queue_resize(); + virtual void queue_resize(StateChangedType eReason = STATE_CHANGE_LAYOUT); /* * Sets the "width-request" property |