SVN:(RD)[71060] Add NUM_CUSTOM

3 views
Skip to first unread message

nor...@wxsite.net

unread,
Mar 31, 2012, 12:39:48 AM3/31/12
to wx-commi...@googlegroups.com
Revision
71060
Author
RD
Date
2012-03-30 21:39:48 -0700 (Fri, 30 Mar 2012)

Log Message

Add NUM_CUSTOM

Modified Paths

Diff

Modified: wxWidgets/trunk/interface/wx/colourdata.h (71059 => 71060)


--- wxWidgets/trunk/interface/wx/colourdata.h	2012-03-31 04:39:43 UTC (rev 71059)
+++ wxWidgets/trunk/interface/wx/colourdata.h	2012-03-31 04:39:48 UTC (rev 71060)
@@ -19,6 +19,12 @@
 class wxColourData : public wxObject
 {
 public:
+    /// number of custom colours we store
+    enum
+    {
+        NUM_CUSTOM = 16
+    };
+
     /**
         Constructor. Initializes the custom colours to @c wxNullColour, the
         @e data colour setting to black, and the @e choose full setting to
Reply all
Reply to author
Forward
0 new messages