From 7bfbbf7e830a3397fa1153bd1ddbb0d5930b7596 Mon Sep 17 00:00:00 2001 From: Catalin Date: Sun, 5 Mar 2017 03:30:31 +0200 Subject: [PATCH] Remove check for `__TWIN32__` symbol --- src/msw/registry.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 82825ed324..e795961cca 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -939,10 +939,6 @@ bool wxRegKey::QueryValue(const wxString& szValue, long *plValue) const bool wxRegKey::SetValue(const wxString& szValue, const wxMemoryBuffer& buffer) { -#ifdef __TWIN32__ - wxFAIL_MSG("RegSetValueEx not implemented by TWIN32"); - return false; -#else if ( CONST_CAST Open() ) { m_dwLastError = RegSetValueEx((HKEY) m_hKey, RegValueStr(szValue), (DWORD) RESERVED, REG_BINARY, @@ -954,7 +950,6 @@ bool wxRegKey::SetValue(const wxString& szValue, const wxMemoryBuffer& buffer) wxLogSysError(m_dwLastError, _("Can't set value of '%s'"), GetFullName(this, szValue)); return false; -#endif } bool wxRegKey::QueryValue(const wxString& szValue, wxMemoryBuffer& buffer) const