Match the wxQT wxColour with public interface
Now the type of the value returned by Red, Green, Blue and Alpha methods are consistent with wxGTK and wxMSW. This could fix ticket #16713 (symbols exported) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,10 +20,10 @@ public:
|
||||
|
||||
virtual bool IsOk() const { return m_qtColor.isValid(); }
|
||||
|
||||
virtual ChannelType Red() const { return m_qtColor.red(); }
|
||||
virtual ChannelType Green() const { return m_qtColor.green(); }
|
||||
virtual ChannelType Blue() const { return m_qtColor.blue(); }
|
||||
virtual ChannelType Alpha() const { return m_qtColor.alpha(); }
|
||||
unsigned char Red() const { return m_qtColor.red(); }
|
||||
unsigned char Green() const { return m_qtColor.green(); }
|
||||
unsigned char Blue() const { return m_qtColor.blue(); }
|
||||
unsigned char Alpha() const { return m_qtColor.alpha(); }
|
||||
|
||||
bool operator==(const wxColour& color) const
|
||||
{ return m_qtColor == color.m_qtColor; }
|
||||
|
Reference in New Issue
Block a user