From de370efe24890ba047093c74322333d57d510d58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 10 Aug 2006 10:09:34 +0000 Subject: [PATCH 1/1] 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 --- include/wx/mgl/chkconf.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.45.2