X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35d4c96744442614e35c2268f8851912f2a61c50..efd17a1d4fa08bf549023a1cc74ce98f9db91be3:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 8c81811aaa..4ef33b5262 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -75,6 +75,12 @@ #ifdef __WXMAC__ #include "wx/mac/private.h" #endif + +// NOTE: If using the wxListBox visual attributes works everywhere then this can +// be removed, as well as the #else case below. +#define _USE_VISATTR 0 + + // ---------------------------------------------------------------------------- // events // ---------------------------------------------------------------------------- @@ -5243,11 +5249,10 @@ bool wxGenericListCtrl::SetFont( const wxFont &font ) } -// NOTE: If using the wxListBox visual attributes works everywhere then this can -// be removed, as well as the #else case below. -#define _USE_VISATTR 0 +#if _USE_VISATTR #include "wx/listbox.h" +#endif //static wxVisualAttributes