- wxFlags(long val) { m_data = val ; }
- wxFlags() { m_data = 0; }
- wxFlags(const wxFlags &src) { m_data = src.m_data; }
- wxFlags(const T el) { m_data |= 1 << el; }
+ // creates a wxBitset<> object with all flags initialized to 0
+ wxBitset() { m_data = 0; }
+
+ // created a wxBitset<> object initialized according to the bits of the
+ // integral value val
+ wxBitset(unsigned long val) { m_data = val ; }
+
+ // copies the content in the new wxBitset<> object from another one
+ wxBitset(const wxBitset &src) { m_data = src.m_data; }