Initialize member variables to avoid warnings

This commit is contained in:
catalinr
2019-10-14 07:53:21 +03:00
parent c150ece20f
commit 2fc569f0c2
9 changed files with 12 additions and 7 deletions

View File

@@ -333,7 +333,7 @@ class WXDLLIMPEXP_BASE wxListKey
public:
// implicit ctors
wxListKey() : m_keyType(wxKEY_NONE)
{ }
{ m_key.integer = 0; }
wxListKey(long i) : m_keyType(wxKEY_INTEGER)
{ m_key.integer = i; }
wxListKey(const wxString& s) : m_keyType(wxKEY_STRING)