]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/registry.cpp
Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
[wxWidgets.git] / src / msw / registry.cpp
index 0c0cda7752f5830771a73d3265f091a4cc2cea20..26657e9c5d149d9c6f49f87ecf5ae072bc80b5d9 100644 (file)
@@ -685,7 +685,7 @@ bool wxRegKey::DeleteSelf()
   m_dwLastError = RegDeleteKey((HKEY) m_hRootKey, m_strKey);
   // deleting a key which doesn't exist is not considered an error
   if ( m_dwLastError != ERROR_SUCCESS &&
-          m_dwLastError !- ERROR_FILE_NOT_FOUND ) {
+          m_dwLastError != ERROR_FILE_NOT_FOUND ) {
     wxLogSysError(m_dwLastError, _("Can't delete key '%s'"),
                   GetName().c_str());
     return FALSE;