- RGBColor white = { 0xFFFF, 0xFFFF,0xFFFF} ;
- RGBColor black = { 0,0,0} ;
- RGBForeColor( &m_textForegroundColour.GetPixel() ) ;
- RGBBackColor( &m_textBackgroundColour.GetPixel() ) ;
+ RGBColor white = { 0xFFFF, 0xFFFF,0xFFFF} ;
+ RGBColor black = { 0,0,0} ;
+ RGBColor forecolor = m_textForegroundColour.GetPixel();
+ RGBColor backcolor = m_textBackgroundColour.GetPixel();
+ RGBForeColor( &forecolor ) ;
+ RGBBackColor( &backcolor ) ;