Applied patch #421073 (making setup options work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,11 +36,12 @@ IMPLEMENT_CLASS(wxURL, wxObject)
|
||||
wxProtoInfo *wxURL::ms_protocols = NULL;
|
||||
|
||||
// Enforce linking of protocol classes:
|
||||
USE_PROTOCOL(wxHTTP)
|
||||
USE_PROTOCOL(wxFTP)
|
||||
USE_PROTOCOL(wxFileProto)
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
USE_PROTOCOL(wxHTTP)
|
||||
USE_PROTOCOL(wxFTP)
|
||||
|
||||
wxHTTP *wxURL::ms_proxyDefault = NULL;
|
||||
bool wxURL::ms_useDefaultProxy = FALSE;
|
||||
#endif
|
||||
|
@@ -601,7 +601,9 @@ void wxApp::CleanUp()
|
||||
#if wxUSE_THREADS
|
||||
delete wxPendingEventsLocker;
|
||||
// If we don't do the following, we get an apparent memory leak.
|
||||
#if wxUSE_VALIDATORS
|
||||
((wxEvtHandler&) wxDefaultValidator).ClearEventLocker();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
wxClassInfo::CleanUpClasses();
|
||||
|
Reference in New Issue
Block a user