Fix a linker error when wxUSE_PROTOCOL_FILE is off
Fix a linker error for wxProtocolUsewxFileProto when wxUSE_PROTOCOL_FILE is off but wxUSE_PROTOCOL is on. Closes #23629. (cherry picked from commit c8fcb0be8ff74fef5e9f0efcbdd58414a79287cd)
This commit is contained in:
parent
efd3aebb3f
commit
ad91e9d35a
@ -32,7 +32,9 @@ wxIMPLEMENT_CLASS(wxURL, wxURI);
|
|||||||
wxProtoInfo *wxURL::ms_protocols = NULL;
|
wxProtoInfo *wxURL::ms_protocols = NULL;
|
||||||
|
|
||||||
// Enforce linking of protocol classes:
|
// Enforce linking of protocol classes:
|
||||||
|
#if wxUSE_PROTOCOL_FILE
|
||||||
USE_PROTOCOL(wxFileProto)
|
USE_PROTOCOL(wxFileProto)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_PROTOCOL_HTTP
|
#if wxUSE_PROTOCOL_HTTP
|
||||||
USE_PROTOCOL(wxHTTP)
|
USE_PROTOCOL(wxHTTP)
|
||||||
|
Loading…
Reference in New Issue
Block a user