X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d1f4bd99374545c3e9e974d03cb9c4560c9f2d..a1ae1090eebbc49d8495c3d3464457277af846db:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index f7af67c6b4..99fec5e45f 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -5250,7 +5250,9 @@ bool wxGenericListCtrl::SetFont( const wxFont &font ) +#if _USE_VISATTR #include "wx/listbox.h" +#endif //static wxVisualAttributes @@ -5260,6 +5262,7 @@ wxGenericListCtrl::GetClassDefaultAttributes(wxWindowVariant variant) // Use the same color scheme as wxListBox return wxListBox::GetClassDefaultAttributes(variant); #else + wxUnusedVar(variant); wxVisualAttributes attr; attr.colFg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT); attr.colBg = wxSystemSettings::GetColour(wxSYS_COLOUR_LISTBOX);