]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
wxColour(const char *) ctor related modifications
[wxWidgets.git] / src / gtk / listbox.cpp
index d434764ba4277d61418161d0ca9d8ff738ae5598..b8c301884b36de3978e6a940f036c0b2c4d8d4e1 100644 (file)
@@ -445,4 +445,10 @@ bool wxListBox::IsOwnGtkWindow( GdkWindow *window )
   return FALSE;
 }
 
+void wxListBox::SetBackgroundColour(const wxColour &colour)
+{
+  wxCHECK_RET( m_list != NULL, "invalid list ctrl" );
+
+  SetBackgroundColourHelper( colour, GTK_WIDGET(m_list)->window );
+}