- // Add to pool: necessary because Windows needs to have a string
- // still exist across 3 callbacks.
- wxChar *AddPool(const wxString& str);
+ // Implementation: converts wxWindows style to MSW style.
+ // Can be a single style flag or a bit list.
+ // oldStyle is 'normalised' so that it doesn't contain
+ // conflicting styles.
+ long ConvertToMSWStyle(long& oldStyle, long style) const;
+
+ // Event handlers
+ ////////////////////////////////////////////////////////////////////////////
+ // Necessary for drawing hrules and vrules, if specified
+ void OnPaint(wxPaintEvent& event);
+
+ virtual bool ShouldInheritColours() const { return false; }
+
+ // obsolete stuff, for compatibility only -- don't use
+ wxDEPRECATED( int GetItemSpacing(bool isSmall) const);