Kaydet (Commit) 3e65dc7f authored tarafından Caolán McNamara's avatar Caolán McNamara

add a VclFrame::get_label

Change-Id: I1fd7dd198345167e587353d370a0ef055221962f
üst b83719ab
......@@ -463,6 +463,7 @@ public:
{
}
void set_label(const OUString &rLabel);
OUString get_label() const;
virtual Window *get_child();
virtual const Window *get_child() const;
Window *get_label_widget();
......
......@@ -1323,6 +1323,13 @@ void VclFrame::set_label(const OUString &rLabel)
pLabel->SetText(rLabel);
}
OUString VclFrame::get_label() const
{
const Window *pLabel = get_label_widget();
assert(pLabel);
return pLabel->GetText();
}
OUString VclFrame::getDefaultAccessibleName() const
{
const Window *pLabel = get_label_widget();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment