diff --git a/src/common/url.cpp b/src/common/url.cpp index f988ee51f2..2c7c15bf5a 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -32,7 +32,9 @@ wxIMPLEMENT_CLASS(wxURL, wxURI); wxProtoInfo *wxURL::ms_protocols = NULL; // Enforce linking of protocol classes: +#if wxUSE_PROTOCOL_FILE USE_PROTOCOL(wxFileProto) +#endif #if wxUSE_PROTOCOL_HTTP USE_PROTOCOL(wxHTTP)