summaryrefslogtreecommitdiff
path: root/include/vcl/builder.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-03 09:48:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-03 09:49:04 +0100
commitba69c0851b99a0f063e0f82fe93f22db25f65de8 (patch)
tree623fa72798d400b15f9543a9aecaa1c23ad02800 /include/vcl/builder.hxx
parent2e2e1fecd5768829d6c0a2133206d2d740b941af (diff)
implement native button order for messageboxes
Change-Id: I85d0991da3d2a1efa9d5c15569164d8bd2194356
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r--include/vcl/builder.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index fc7a28690bc4..9ad812e7aa54 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -290,9 +290,14 @@ public:
static OString extractCustomProperty(stringmap &rMap);
- //see m_aDeferredProperties
+ //see m_aDeferredProperties, you need this for toplevel dialogs
+ //which build themselves from their ctor. The properties on
+ //the top level are stored in m_aDeferredProperties and need
+ //to be applied post ctor
void setDeferredProperties();
+ //Helpers to retrofit all the existing code to the builder
+ static void reorderWithinParent(Window &rWindow, sal_uInt16 nNewPosition);
private:
Window *insertObject(Window *pParent, const OString &rClass, const OString &rID,
stringmap &rProps, stringmap &rPangoAttributes,
@@ -350,9 +355,6 @@ private:
void cleanupWidgetOwnScrolling(Window *pScrollParent, Window *pWindow, stringmap &rMap);
void set_response(OString sID, short nResponse);
-
- //Helpers to retrofit all the existing code to the builder
- static void reorderWithinParent(Window &rWindow, sal_uInt16 nNewPosition);
};