X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a50a2c4d3b39901947b68c81973016d56da75e1..49a63afbad7646668df343d29edd88458bc7e0a9:/include/wx/gtk/control.h?ds=inline diff --git a/include/wx/gtk/control.h b/include/wx/gtk/control.h index 164337796c..7e14b84d4b 100644 --- a/include/wx/gtk/control.h +++ b/include/wx/gtk/control.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: control.h +// Name: wx/gtk/control.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -20,7 +20,7 @@ typedef struct _GtkFrame GtkFrame; // C-linkage function pointer types for GetDefaultAttributesFromGTKWidget extern "C" { typedef GtkWidget* (*wxGtkWidgetNew_t)(void); - typedef GtkWidget* (*wxGtkWidgetNewFromStr_t)(const gchar*); + typedef GtkWidget* (*wxGtkWidgetNewFromStr_t)(const char*); typedef GtkWidget* (*wxGtkWidgetNewFromAdj_t)(GtkAdjustment*); } @@ -52,7 +52,9 @@ protected: // sets the label to the given string and also sets it for the given widget void GTKSetLabelForLabel(GtkLabel *w, const wxString& label); +#if wxUSE_MARKUP void GTKSetLabelWithMarkupForLabel(GtkLabel *w, const wxString& label); +#endif // wxUSE_MARKUP // GtkFrame helpers GtkWidget* GTKCreateFrame(const wxString& label);