]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)
[wxWidgets.git] / src / common / protocol.cpp
index 2203ac231f4ee76b6f1c05f5ab67fb767c1f6c24..213de7ce97eda58cd902752bbf07c1cb9aa3a54c 100644 (file)
@@ -20,6 +20,8 @@
   #pragma hdrstop
 #endif
 
+#if wxUSE_PROTOCOL
+
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 #include "wx/module.h"
@@ -166,4 +168,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) {
   return wxPROTO_NOERR;
 #undef PROTO_BSIZE
 }
-#endif
+#endif // wxUSE_SOCKETS
+
+#endif // wxUSE_PROTOCOL
+