X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07cf98cb8eb7625eeffc95e407a9fa1ad863b451..aa21388719bc324227895bd2f1328d533dc130e2:/src/msw/ownerdrw.cpp?ds=sidebyside 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 +