wxPen code to fully enable pens and their use in wxDC's.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-11-27 04:16:24 +00:00
parent b34590ebf8
commit 26ac77dbe2
4 changed files with 446 additions and 256 deletions

View File

@@ -38,7 +38,7 @@ wxColour::wxColour (
m_cGreen = cGreen;
m_cBlue = cBlue;
m_bIsInit = TRUE;
m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue);
m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue);
} // end of wxColour::wxColour
wxColour::wxColour (
@@ -84,7 +84,7 @@ void wxColour::InitFromName(
m_cBlue = 0;
m_bIsInit = FALSE;
}
m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue);
m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue);
} // end of wxColour::InitFromName
wxColour::~wxColour ()
@@ -101,7 +101,7 @@ void wxColour::Set (
m_cGreen = cGreen;
m_cBlue = cBlue;
m_bIsInit = TRUE;
m_vPixel = PALETTERGB (m_cRed, m_cGreen, m_cBlue);
m_vPixel = OS2RGB (m_cRed, m_cGreen, m_cBlue);
} // end of wxColour::Set
//