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.
This commit is contained in:
parent
58c49d06fa
commit
c8fcb0be8f
1 changed files with 2 additions and 0 deletions
|
|
@ -31,7 +31,9 @@ wxIMPLEMENT_CLASS(wxURL, wxURI);
|
|||
wxProtoInfo *wxURL::ms_protocols = nullptr;
|
||||
|
||||
// Enforce linking of protocol classes:
|
||||
#if wxUSE_PROTOCOL_FILE
|
||||
USE_PROTOCOL(wxFileProto)
|
||||
#endif
|
||||
|
||||
#if wxUSE_PROTOCOL_HTTP
|
||||
USE_PROTOCOL(wxHTTP)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue