]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
Don't warn about wxMetaFile in configure by default.
[wxWidgets.git] / src / gtk / control.cpp
index 7fcdb2192e06b6e965947c971b228296c6e8dcbf..5a06a3910f43dfd0af92e470d8ffe58df00eb0ea 100644 (file)
@@ -127,12 +127,15 @@ void wxControl::GTKSetLabelForLabel(GtkLabel *w, const wxString& label)
     gtk_label_set_text_with_mnemonic(w, wxGTK_CONV(labelGTK));
 }
 
+#if wxUSE_MARKUP
+
 void wxControl::GTKSetLabelWithMarkupForLabel(GtkLabel *w, const wxString& label)
 {
     const wxString labelGTK = GTKConvertMnemonicsWithMarkup(label);
     gtk_label_set_markup_with_mnemonic(w, wxGTK_CONV(labelGTK));
 }
 
+#endif // wxUSE_MARKUP
 
 // ----------------------------------------------------------------------------
 // GtkFrame helpers