]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
disable select root menu command when the root is hidden
[wxWidgets.git] / src / common / http.cpp
index f5f73ea4611524da3da0f6c4ad96a6a01520cdd8..f190f800e4e093d9768b5236d937e0b3797e8b62 100644 (file)
@@ -309,7 +309,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req)
 
     m_http_response = wxAtoi(tmp_str2);
 
-    switch (tmp_str2[0u])
+    switch ( tmp_str2[0u].GetValue() )
     {
         case wxT('1'):
             /* INFORMATION / SUCCESS */