Use shared pointers to hold wxWebHandlers throughout.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -335,9 +335,9 @@ public:
|
||||
|
||||
/**
|
||||
Registers a custom scheme handler.
|
||||
@param handler A pointer to a heap allocated wxWebHandler.
|
||||
@param handler A shared pointer to a wxWebHandler.
|
||||
*/
|
||||
virtual void RegisterHandler(wxWebHandler* handler) = 0;
|
||||
virtual void RegisterHandler(wxSharedPtr<wxWebHandler> handler) = 0;
|
||||
|
||||
/**
|
||||
Reload the currently displayed URL.
|
||||
|
Reference in New Issue
Block a user