]> git.saurik.com Git - wxWidgets.git/commitdiff
moved #define to before it is used
authorRobin Dunn <robin@alldunn.com>
Thu, 6 May 2004 21:15:06 +0000 (21:15 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 6 May 2004 21:15:06 +0000 (21:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 8c81811aaadc4a9ef8d4d4201781a87a3c6c740d..f7af67c6b44a4d9925bca34571e9130e2ca303a8 100644 (file)
 #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"