From: Guillermo Rodriguez Garcia Date: Thu, 16 Dec 1999 14:53:07 +0000 (+0000) Subject: Added #if wxUSE_OWNER_DRAWN X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1b24a68eba162797e54756c6562fb4b4b54112cb?ds=sidebyside Added #if wxUSE_OWNER_DRAWN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ownerdrw.cpp b/src/msw/ownerdrw.cpp index f8c26c035e..2c2ec2a8ea 100644 --- a/src/msw/ownerdrw.cpp +++ b/src/msw/ownerdrw.cpp @@ -33,6 +33,8 @@ #include "wx/ownerdrw.h" #include "wx/menuitem.h" +#if wxUSE_OWNER_DRAWN + // ============================================================================ // implementation of wxOwnerDrawn class @@ -251,3 +253,6 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODSt return TRUE; } + +#endif // wxUSE_OWNER_DRAWN +