- wxRGBToColour(m_fontData.fontColour, chooseFontStruct.rgbColors);
- m_fontData.chosenFont = wxCreateFontFromLogFont(&logFont);
+ wxRGBToColour(m_fontData.m_fontColour, chooseFontStruct.rgbColors);
+ m_fontData.m_chosenFont = wxCreateFontFromLogFont(&logFont);