Implement wxStaticBox::Set/GetLabel() in wxQt
Closes https://github.com/wxWidgets/wxWidgets/pull/1167
This commit is contained in:
@@ -56,6 +56,16 @@ QWidget *wxStaticBox::GetHandle() const
|
||||
return m_qtGroupBox;
|
||||
}
|
||||
|
||||
void wxStaticBox::SetLabel(const wxString& label)
|
||||
{
|
||||
m_qtGroupBox->setTitle(wxQtConvertString(label));
|
||||
}
|
||||
|
||||
wxString wxStaticBox::GetLabel() const
|
||||
{
|
||||
return wxQtConvertString(m_qtGroupBox->title());
|
||||
}
|
||||
|
||||
void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
|
||||
{
|
||||
wxStaticBoxBase::GetBordersForSizer(borderTop, borderOther);
|
||||
|
||||
Reference in New Issue
Block a user