X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa21388719bc324227895bd2f1328d533dc130e2..f8c5636c42238296eb67bf73d1da3c5acb010fee:/src/os2/ownerdrw.cpp diff --git a/src/os2/ownerdrw.cpp b/src/os2/ownerdrw.cpp index 86d4b6724f..1be1044bda 100644 --- a/src/os2/ownerdrw.cpp +++ b/src/os2/ownerdrw.cpp @@ -26,6 +26,8 @@ #include "wx/utils.h" #endif +#if wxUSE_OWNER_DRAWN + #include "wx/ownerdrw.h" #include "wx/menuitem.h" @@ -192,3 +194,4 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODSt return TRUE; } +#endif //wxUSE_OWNER_DRAWN