X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c72b150f5d6552b577d0e1070672af41208da7b2..43b5058d590c7acf58e5f75ec015e717d03830a2:/src/gtk/listbox.cpp diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index e03436d1fa..4f29dfdb2b 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -26,7 +26,12 @@ #include "wx/tooltip.h" #endif -#include +#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 #include #include @@ -231,7 +236,7 @@ static void gtk_listitem_select_callback( GtkWidget *WXUNUSED(widget), wxListBox if (!listbox->m_hasVMT) return; if (g_blockEventsOnDrag) return; - + wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, listbox->GetId() ); event.SetEventObject( listbox ); @@ -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() );