From: Vadim Zeitlin Date: Tue, 8 Mar 2011 17:22:15 +0000 (+0000) Subject: Add another missing #if wxUSE_MARKUP check. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f382836f40a2045de8b36d6d1a851edbe774a975 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 --- diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 089fcbda13..5255a240ff 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -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 ) {