1
/////////////////////////////////////////////////////////////////////////////
2
// Name: src/msw/colour.cpp
3
// Purpose: wxColour class
4
// Author: Julian Smart
7
// RCS-ID: $Id: colour.cpp 66555 2011-01-04 08:31:53Z SC $
8
// Copyright: (c) Julian Smart
9
// Licence: wxWindows licence
10
/////////////////////////////////////////////////////////////////////////////
12
// For compilers that support precompilation, includes "wx.h".
13
#include "wx/wxprec.h"
19
#include "wx/colour.h"
22
#include "wx/gdicmn.h"
25
#include "wx/msw/private.h"
41
void wxColour::InitRGBA(unsigned char r, unsigned char g, unsigned char b,
49
m_pixel = PALETTERGB(m_red, m_green, m_blue);