virtual int GetScrollPos(int orient) const;
virtual int GetScrollThumb(int orient) const;
virtual int GetScrollRange(int orient) const;
virtual int GetScrollPos(int orient) const;
virtual int GetScrollThumb(int orient) const;
virtual int GetScrollRange(int orient) const;
- // set the "highlighted" flag and return TRUE if it changed
- virtual bool SetCurrent(bool doit = TRUE);
+ // set the "highlighted" flag and return true if it changed
+ virtual bool SetCurrent(bool doit = true);
// get the scrollbar (may be NULL) for the given orientation
wxScrollBar *GetScrollbar(int orient) const
// get the scrollbar (may be NULL) for the given orientation
wxScrollBar *GetScrollbar(int orient) const
// methods used by wxColourScheme to choose the colours for this window
// --------------------------------------------------------------------
// methods used by wxColourScheme to choose the colours for this window
// --------------------------------------------------------------------
// corresponding GetXXX() methods instead of the default ones
bool UseBgCol() const { return m_hasBgCol; }
bool UseFgCol() const { return m_hasFgCol; }
bool UseFont() const { return m_hasFont; }
// corresponding GetXXX() methods instead of the default ones
bool UseBgCol() const { return m_hasBgCol; }
bool UseFgCol() const { return m_hasFgCol; }
bool UseFont() const { return m_hasFont; }
// the rect coordinates are, for us, in client coords, but if no rect is
// specified, the entire window is refreshed
// the rect coordinates are, for us, in client coords, but if no rect is
// specified, the entire window is refreshed
- virtual bool Enable(bool enable = TRUE);
+ virtual bool Enable(bool enable = true);
+
+ // should we use the standard control colours or not?
+ virtual bool ShouldInheritColours() const { return false; }