]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/stattext.cpp
remove wxWINT_T_IS_TYPEDEF as it seems wint_t is always a typedef (although it can...
[wxWidgets.git] / src / gtk / stattext.cpp
index 4f90978241ccb0cc6f9c823e152a00e3e2ccefde..6fe31c64c634923521cbeff0e98b69b1503d2f25 100644 (file)
@@ -72,15 +72,15 @@ bool wxStaticText::Create(wxWindow *parent,
       justify = GTK_JUSTIFY_RIGHT;
     else // wxALIGN_LEFT is 0
       justify = GTK_JUSTIFY_LEFT;
-      
+
     if (GetLayoutDirection() == wxLayout_RightToLeft)
-    {  
+    {
          if (justify == GTK_JUSTIFY_RIGHT)
             justify = GTK_JUSTIFY_LEFT;
          if (justify == GTK_JUSTIFY_LEFT)
             justify = GTK_JUSTIFY_RIGHT;
     }
-    
+
     gtk_label_set_justify(GTK_LABEL(m_widget), justify);
 
     // GTK_JUSTIFY_LEFT is 0, RIGHT 1 and CENTER 2
@@ -150,7 +150,7 @@ bool wxStaticText::SetFont( const wxFont &font )
             PangoAttrList *attrs = pango_attr_list_new();
             PangoAttribute *a = pango_attr_underline_new(PANGO_UNDERLINE_SINGLE);
             a->start_index = 0;
-            a->end_index = -1;
+            a->end_index = (guint)-1;
             pango_attr_list_insert(attrs, a);
             gtk_label_set_attributes(GTK_LABEL(m_widget), attrs);
             pango_attr_list_unref(attrs);