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:
Vadim Zeitlin
2011-03-08 17:22:15 +00:00
parent ff65c0ef06
commit f382836f40

View File

@@ -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 )
{