]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
factored out key handling for better integrating with carbon
[wxWidgets.git] / include / wx / cmndata.h
index d2d1a2a4b2f2a12188ee7e74726e4e2df2468407..781ae9a298ab983055f52e125a7ea3692ba5f237 100644 (file)
@@ -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;
     }