corrected the just-added operator=(RGBColor) return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -71,6 +71,7 @@ void wxColour::FromRGBColor( WXCOLORREF* color )
|
|||||||
wxColour& wxColour::operator=(const RGBColor& col)
|
wxColour& wxColour::operator=(const RGBColor& col)
|
||||||
{
|
{
|
||||||
FromRGBColor((WXCOLORREF *)&col);
|
FromRGBColor((WXCOLORREF *)&col);
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxColour::IsOk() const
|
bool wxColour::IsOk() const
|
||||||
|
Reference in New Issue
Block a user