corrected wxFontData assignement operator (was recursive!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
12d1116bee
commit
50947acc3b
@ -75,7 +75,17 @@ public:
|
||||
|
||||
wxFontData& operator=(const wxFontData& data)
|
||||
{
|
||||
(*this) = data;
|
||||
wxObject::operator=(data);
|
||||
fontColour = data.fontColour;
|
||||
showHelp = data.showHelp;
|
||||
allowSymbols = data.allowSymbols;
|
||||
enableEffects = data.enableEffects;
|
||||
initialFont = data.initialFont;
|
||||
chosenFont = data.chosenFont;
|
||||
minSize = data.minSize;
|
||||
maxSize = data.maxSize;
|
||||
m_encoding = data.m_encoding;
|
||||
m_encodingInfo = data.m_encodingInfo;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user