diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h
index 5cf897619a..6b786f9a19 100644
--- a/include/wx/gsocket.h
+++ b/include/wx/gsocket.h
@@ -102,7 +102,7 @@ GSocketError GSocket_SetNonOriented(GSocket *socket);
/* Server specific parts */
/*
- GSocket_SetServer() setup the socket as a server. It uses the "Local" field
+ GSocket_SetServer() setups the socket as a server. It uses the "Local" field
of GSocket. "Local" must be set by GSocket_SetLocal() before
GSocket_SetServer() is called. In the other case, it returns GSOCK_INVADDR.
*/
diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp
index 99e848ee55..6efe0580be 100644
--- a/samples/html/virtual/virtual.cpp
+++ b/samples/html/virtual/virtual.cpp
@@ -63,6 +63,9 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location)
"sub-3
"
"