]> git.saurik.com Git - wxWidgets.git/commitdiff
Added #if wxUSE_OWNER_DRAWN
authorGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Dec 1999 14:53:07 +0000 (14:53 +0000)
committerGuillermo Rodriguez Garcia <guille@iies.es>
Thu, 16 Dec 1999 14:53:07 +0000 (14:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/ownerdrw.cpp

index f8c26c035ede2b8afea7e4601808a14d64d9cb0a..2c2ec2a8ead4a27cc97fa993bcc0190ff78a1c91 100644 (file)
@@ -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
+