From 1b24a68eba162797e54756c6562fb4b4b54112cb Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Thu, 16 Dec 1999 14:53:07 +0000 Subject: [PATCH] Added #if wxUSE_OWNER_DRAWN git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/ownerdrw.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 +