]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ownerdrw.h
Added paper classes.
[wxWidgets.git] / include / wx / ownerdrw.h
index 7726a31f1ea0d58a1778badf57a361b282521240..5a742f3dda790cece7e2ddd628b67b78a5b3ff51 100644 (file)
@@ -16,8 +16,9 @@
 #pragma interface "ownerdrw.h"
 #endif
 
-typedef   wxColour      wxColor;
-typedef   unsigned int  size_t;
+// No, don't do this: BC++ 5 complains that size_t already been defined.
+// typedef   unsigned int  size_t;
+#include <stddef.h>
 
 // ----------------------------------------------------------------------------
 // wxOwnerDrawn - a mix-in base class, derive from it to implement owner-drawn
@@ -123,7 +124,7 @@ private:
             m_bOwnerDrawn;  // true if something is non standard
 
   wxFont    m_font;         // font to use for drawing
-  wxColor   m_colText,      // color ----"---"---"----
+  wxColour   m_colText,      // color ----"---"---"----
             m_colBack;      // background color
   wxBitmap  m_bmpChecked,   // bitmap to put near the item
             m_bmpUnchecked; // (checked is used also for 'uncheckable' items)