]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/ownerdrw.cpp
Merged some STC fixes over to the main branch
[wxWidgets.git] / src / os2 / ownerdrw.cpp
index f7dd9b66215b0e21417ea240543e35c371c83f42..1be1044bda76b84a761b74ada2317593efe9abd3 100644 (file)
@@ -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