X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb46a9a6c6f291806a5fecbb848930c344e17e11..10992a81d39da31b79063387b7b71c0ff68737ce:/src/os2/ownerdrw.cpp diff --git a/src/os2/ownerdrw.cpp b/src/os2/ownerdrw.cpp index f7dd9b6621..1be1044bda 100644 --- a/src/os2/ownerdrw.cpp +++ b/src/os2/ownerdrw.cpp @@ -9,6 +9,10 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ +#pragma implementation +#endif + // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -22,6 +26,8 @@ #include "wx/utils.h" #endif +#if wxUSE_OWNER_DRAWN + #include "wx/ownerdrw.h" #include "wx/menuitem.h" @@ -188,3 +194,4 @@ bool wxOwnerDrawn::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODSt return TRUE; } +#endif //wxUSE_OWNER_DRAWN