X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..8523a5f544112d7d5481bd3c2ebf9497cfe2e9f2:/src/palmos/colour.cpp diff --git a/src/palmos/colour.cpp b/src/palmos/colour.cpp index fc292a2b99..27d3010823 100644 --- a/src/palmos/colour.cpp +++ b/src/palmos/colour.cpp @@ -1,18 +1,14 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: colour.cpp +// Name: src/palmos/colour.cpp // Purpose: wxColour class -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "colour.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #include "wx/colour.h" @@ -55,7 +51,7 @@ template<> void wxStringWriteValue(wxString &s , const wxColour &data ) wxTO_STRING_IMP( wxColour ) wxFROM_STRING_IMP( wxColour ) - + IMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( wxColour , wxObject , "wx/colour.h" , &wxTO_STRING( wxColour ) , &wxFROM_STRING( wxColour )) wxBEGIN_PROPERTIES_TABLE(wxColour) @@ -110,5 +106,8 @@ wxColour::~wxColour() void wxColour::Set(unsigned char r, unsigned char g, unsigned char b) { + m_red = r; + m_green = g; + m_blue = b; + m_isInit = true; } -