--- lib/wx/configure.in.orig	2009-05-05 16:04:51.000000000 -0400
+++ lib/wx/configure.in	2009-05-05 16:06:10.000000000 -0400
@@ -363,10 +363,10 @@
 	       [#ifdef WIN32
 		# include <windows.h>
 	        # include <gl/gl.h>
-	        #elif defined(HAVE_GL_GL_H)
-	        # include <GL/gl.h>
                 #elif defined(HAVE_OPENGL_GL_H)
 		# include <OpenGL/gl.h>
+	        #elif defined(HAVE_GL_GL_H)
+	        # include <GL/gl.h>
 		#endif 
 		])
  
@@ -381,10 +381,10 @@
                 #ifdef WIN32
 		# include <windows.h>
 	        # include <gl/glu.h>
-	        #elif defined(HAVE_GL_GL_H)
-	        # include <GL/glu.h>
                 #elif defined(HAVE_OPENGL_GL_H)
 		# include <OpenGL/glu.h>
+	        #elif defined(HAVE_GL_GL_H)
+	        # include <GL/glu.h>
 		#endif 
 		#ifndef CALLBACK
 		# define CALLBACK
@@ -431,10 +431,10 @@
 		#ifdef WIN32
 		# include <windows.h>
 	        # include <gl/gl.h>
-	        #elif defined(HAVE_GL_GL_H)
-	        # include <GL/gl.h>
                 #elif defined(HAVE_OPENGL_GL_H)
 		# include <OpenGL/gl.h>
+	        #elif defined(HAVE_GL_GL_H)
+	        # include <GL/gl.h>
 		#endif 
                 #include "wx/wx.h"
 		#include "wx/stc/stc.h"
