From e1d1f4bd99374545c3e9e974d03cb9c4560c9f2d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 6 May 2004 21:15:06 +0000 Subject: [PATCH] moved #define to before it is used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 8c81811aaa..f7af67c6b4 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,9 +5249,6 @@ 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 #include "wx/listbox.h" -- 2.47.2