]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/combo.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / combo.h
index 902c0bc5b9982d55e7e5dc16bfef22e6b8729abc..658861ce132129b41a9a4068ac689a9acbfa660e 100644 (file)
@@ -651,7 +651,7 @@ class WXDLLIMPEXP_CORE wxComboPopup
 public:
     wxComboPopup()
     {
-        m_combo = (wxComboCtrlBase*) NULL;
+        m_combo = NULL;
         m_iFlags = 0;
     }