]> git.saurik.com Git - wxWidgets.git/commitdiff
check that wxUniv is enabled when compiling for wxMGL
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 10 Aug 2006 10:09:34 +0000 (10:09 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 10 Aug 2006 10:09:34 +0000 (10:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mgl/chkconf.h

index 4f80358362911ef095bf0f8bc05f934f3ae4b9c3..85136cfe9996f14b5d14678edb30541a7e97f8de 100644 (file)
@@ -14,6 +14,9 @@
 #ifndef _WX_MGL_CHKCONF_H_
 #define _WX_MGL_CHKCONF_H_
 
 #ifndef _WX_MGL_CHKCONF_H_
 #define _WX_MGL_CHKCONF_H_
 
+#ifndef __WXUNIVERSAL__
+#   error "wxMGL cannot be built without wxUniversal"
+#endif
 
 /* wxPalette is always needed */
 #if !wxUSE_PALETTE
 
 /* wxPalette is always needed */
 #if !wxUSE_PALETTE