]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / gtk / listbox.cpp
index 09b0b4a12ae711b64966e4f98d801580dff21c3d..d76523b68111b840d93de6d76dbf365b3a262c5e 100644 (file)
@@ -855,7 +855,7 @@ GdkWindow *wxListBox::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 
 void wxListBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
 
 void wxListBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
-    if (m_hasBgCol && m_backgroundColour.Ok())
+    if (m_hasBgCol && m_backgroundColour.IsOk())
     {
         GdkWindow *window = gtk_tree_view_get_bin_window(m_treeview);
         if (window)
     {
         GdkWindow *window = gtk_tree_view_get_bin_window(m_treeview);
         if (window)