]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Printing improvements: GetPageInfo() gets called after the DC has
[wxWidgets.git] / src / common / http.cpp
index 4a59548bf39c6b67b93052472791dcc8d93b6f9c..9758181c724bd080a3e40c905fde0322e47e008e 100644 (file)
@@ -103,7 +103,7 @@ wxString wxHTTP::GetHeader(const wxString& header) const
 {
     wxHeaderIterator it = FindHeader(header);
 
-    return it == m_headers.end() ? wxEmptyString : it->second;
+    return it == m_headers.end() ? wxGetEmptyString() : it->second;
 }
 
 void wxHTTP::SetPostBuffer(const wxString& post_buf)