Add another missing #if wxUSE_MARKUP check.
The definition of DoSetLabelMarkup() should only be compiled when wxUSE_MARKUP==1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -262,6 +262,7 @@ void wxButton::SetLabel( const wxString &lbl )
|
||||
GTKApplyWidgetStyle( false );
|
||||
}
|
||||
|
||||
#if wxUSE_MARKUP
|
||||
bool wxButton::DoSetLabelMarkup(const wxString& markup)
|
||||
{
|
||||
wxCHECK_MSG( m_widget != NULL, false, "invalid button" );
|
||||
@@ -279,6 +280,7 @@ bool wxButton::DoSetLabelMarkup(const wxString& markup)
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif // wxUSE_MARKUP
|
||||
|
||||
bool wxButton::Enable( bool enable )
|
||||
{
|
||||
|
Reference in New Issue
Block a user