diff --git a/src/gtk/button.cpp b/src/gtk/button.cpp index 97c4bc93e9..ce72ff150a 100644 --- a/src/gtk/button.cpp +++ b/src/gtk/button.cpp @@ -260,7 +260,7 @@ bool wxButton::DoSetLabelMarkup(const wxString& markup) if ( stripped.empty() && !markup.empty() ) return false; - wxControl::SetLabel(stripped); + SetLabel(stripped); GtkLabel * const label = GTKGetLabel(); wxCHECK_MSG( label, false, "no label in this button?" );