]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Applied patch [ 1417709 ] wxFSVolume produces error messagebox
[wxWidgets.git] / src / gtk / listbox.cpp
index 7f0809b59220835d0119462b77fa252b4b174657..cbff2c4f8f7023aa5d5fc843d94b06ae85c9af1d 100644 (file)
@@ -913,7 +913,7 @@ void wxListBox::SetString( int n, const wxString &string )
 #endif // wxUSE_CHECKLISTBOX
         str += string;
 
-        gtk_label_set( label, wxGTK_CONV( str ) );
+        gtk_label_set_text( label, wxGTK_CONV( str ) );
     }
     else
     {