]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/registry.cpp
Applied patch [ 1349607 ] [msw] Multiline notebook tab label change can add extra row
[wxWidgets.git] / src / msw / registry.cpp
index 37391757287308a5a0f059b0c0c85b2193fa116b..010ff1d301b440a6b94eebee2e23da22d419a68e 100644 (file)
@@ -897,7 +897,7 @@ bool wxRegKey::QueryValue(const wxChar *szValue,
     {
 
         // first get the type and size of the data
-        DWORD dwType, dwSize;
+        DWORD dwType=REG_NONE, dwSize=0;
         m_dwLastError = RegQueryValueEx((HKEY) m_hKey, WXSTRINGCAST szValue, RESERVED,
                                         &dwType, NULL, &dwSize);
         if ( m_dwLastError == ERROR_SUCCESS )