X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/846e1424e2f563b699e7fcb81d10cf6f2246487f..7d610b90ffb5c212b429c717ebae5f605fc5fac7:/src/gtk/listbox.cpp diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index cf6a80e27a..8ff7ab4cd1 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -12,6 +12,12 @@ #pragma implementation "listbox.h" #endif +#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 "wx/listbox.h" #if wxUSE_LISTBOX @@ -26,7 +32,7 @@ #include "wx/tooltip.h" #endif -#include +# include #include #include @@ -349,7 +355,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() );