- wxColour* bgColour = FortyApp::BackgroundColour();
- wxPen* pen = wxThePenList->FindOrCreatePen(*bgColour, 1, wxSOLID);
- dc.SetTextBackground(*bgColour);
- dc.SetTextForeground(*FortyApp::TextColour());
+ wxColour bgColour = FortyApp::BackgroundColour();
+ wxPen* pen = wxThePenList->FindOrCreatePen(bgColour, 1, wxSOLID);
+ dc.SetTextBackground(bgColour);
+ dc.SetTextForeground(FortyApp::TextColour());