// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#include "wx/msw/private.h"
#ifdef __BORLANDC__
#pragma hdrstop
#ifndef WX_PRECOMP
#include "wx/window.h"
- #include "wx/msw/private.h"
+// #include "wx/msw/private.h"
#include "wx/font.h"
#include "wx/bitmap.h"
#include "wx/dcmemory.h"
#include "wx/ownerdrw.h"
#include "wx/menuitem.h"
+#if wxUSE_OWNER_DRAWN
+
// ============================================================================
// implementation of wxOwnerDrawn class
return TRUE;
}
+
+#endif // wxUSE_OWNER_DRAWN
+