X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4353a8df6eb0c743f42a85364235195246225b76..5d9b5db01e6b36835af126413461c897026e438a:/include/wx/univ/chkconf.h?ds=sidebyside diff --git a/include/wx/univ/chkconf.h b/include/wx/univ/chkconf.h index 2aeea1f6d5..45667dc31e 100644 --- a/include/wx/univ/chkconf.h +++ b/include/wx/univ/chkconf.h @@ -3,7 +3,6 @@ // Purpose: wxUniversal-specific configuration options checks // Author: Vadim Zeitlin // Created: 2006-09-28 (extracted from wx/chkconf.h) -// RCS-ID: $Id$ // Copyright: (c) 2006 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -11,6 +10,17 @@ #ifndef _WX_UNIV_CHKCONF_H_ #define _WX_UNIV_CHKCONF_H_ +#if wxUSE_OWNER_DRAWN + /* + It is not clear if owner-drawn code makes much sense for wxUniv in the + first place but in any case it doesn't link currently (at least under + wxMSW but probably elsewhere too) as there is no wxUniv-specific + wxOwnerDrawnBase implementation so disable it for now. + */ + #undef wxUSE_OWNER_DRAWN + #define wxUSE_OWNER_DRAWN 0 +#endif /* wxUSE_OWNER_DRAWN */ + #if (wxUSE_COMBOBOX || wxUSE_MENUS) && !wxUSE_POPUPWIN # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_POPUPWIN must be defined to use comboboxes/menus"