]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/registry.cpp
Update the text part of combobox when changing text of selected item in wxGTK.
[wxWidgets.git] / src / msw / registry.cpp
index 83d11c2769845d5b465d17285fe780b61e5ff63d..948d9249fb4eee02421b035047a60e12135f22b2 100644 (file)
@@ -326,7 +326,7 @@ void wxRegKey::SetHkey(WXHKEY hKey)
   m_mode = Write;
 
   // reset old data
-  m_strKey.empty();
+  m_strKey.clear();
   m_dwLastError = 0;
 }