]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
1. status bar can now be positioned on top (and anywhere, in fact)
[wxWidgets.git] / src / gtk / listbox.cpp
index cf6a80e27ac859ac456d25ccc1e71fa33089543e..4f29dfdb2b2719133887dd22dd746d9d290a82d4 100644 (file)
 #include "wx/tooltip.h"
 #endif
 
-#include <gdk/gdk.h>
+#ifdef __VMS__
+#define gtk_scrolled_window_add_with_viewport gtk_scrolled_window_add_with_vi
+#define gtk_container_set_focus_vadjustment gtk_container_set_focus_vadjust
+#define gtk_scrolled_window_get_vadjustment gtk_scrolled_window_get_vadjust
+#endif
+# include <gdk/gdk.h>
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
@@ -349,7 +354,7 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
 
     PostCreation();
 
-    SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_WINDOW ) );
+    SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
     SetForegroundColour( parent->GetForegroundColour() );
     SetFont( parent->GetFont() );