Implement [GS]etLabel() for wxStaticText and wxCheckBox in wxQt
This allows the corresponding unit tests to pass. Closes https://github.com/wxWidgets/wxWidgets/pull/1033
This commit is contained in:
committed by
Vadim Zeitlin
parent
7e22ddd27c
commit
16c121d4d3
@@ -62,6 +62,11 @@ void wxStaticText::SetLabel(const wxString& label)
|
||||
m_qtLabel->setText( wxQtConvertString( label ) );
|
||||
}
|
||||
|
||||
wxString wxStaticText::GetLabel() const
|
||||
{
|
||||
return wxQtConvertString( m_qtLabel->text() );
|
||||
}
|
||||
|
||||
QWidget *wxStaticText::GetHandle() const
|
||||
{
|
||||
return m_qtLabel;
|
||||
|
Reference in New Issue
Block a user