From: Václav Slavík Date: Thu, 10 Aug 2006 10:09:34 +0000 (+0000) Subject: check that wxUniv is enabled when compiling for wxMGL X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/de370efe24890ba047093c74322333d57d510d58 check that wxUniv is enabled when compiling for wxMGL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index 4f80358362..85136cfe99 100644 --- a/include/wx/mgl/chkconf.h +++ b/include/wx/mgl/chkconf.h @@ -14,6 +14,9 @@ #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