summaryrefslogtreecommitdiff
path: root/include/vcl/layout.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r--include/vcl/layout.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index 8a5b881644e4..67e856fabdca 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -94,6 +94,10 @@ public:
{
m_bHomogeneous = bHomogeneous;
}
+ bool get_orientation() const
+ {
+ return m_bVerticalContainer;
+ }
virtual bool set_property(const OString &rKey, const OUString &rValue) override;
virtual boost::property_tree::ptree DumpAsPropertyTree() override;
protected:
@@ -211,7 +215,6 @@ public:
{
}
virtual bool set_property(const OString &rKey, const OUString &rValue) override;
- void sort_native_button_order();
protected:
virtual Size calculateRequisition() const override;
virtual void setAllocation(const Size &rAllocation) override;
@@ -853,6 +856,9 @@ Size getLegacyBestSizeForChildren(const vcl::Window &rWindow);
//Get first parent which is not a layout widget
vcl::Window* getNonLayoutParent(vcl::Window *pParent);
+//Sort ok/cancel etc buttons in platform order
+void sort_native_button_order(VclBox& rContainer);
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */