]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/ownerdrw.cpp
fixed incorrect GetTextExtent for wxTELETYPE font
[wxWidgets.git] / src / os2 / ownerdrw.cpp
index 86d4b6724f79bfed6e19e7a475166e3c6fd06aa2..1be1044bda76b84a761b74ada2317593efe9abd3 100644 (file)
@@ -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