Add wxHtmlWindow::SetDefaultHTMLCursor().

This allows to change the cursors used by any HTML windows, before creating
them.

Closes #15324.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-12-18 16:00:43 +00:00
parent 3150676c08
commit fba8b37345
4 changed files with 55 additions and 2 deletions

View File

@@ -465,7 +465,32 @@ public:
*/
virtual void WriteCustomization(wxConfigBase* cfg,
wxString path = wxEmptyString);
/**
Retrieves the default cursor for a given HTMLCursor type.
@param type
HTMLCursor type to retrieve.
@since 3.1.0
*/
static wxCursor GetDefaultHTMLCursor(HTMLCursor type);
/**
Sets the default cursor for a given HTMLCursor type.
These cursors are used for all wxHtmlWindow objects by default, but can
be overridden on a per-window basis.
@param type
HTMLCursor type to retrieve.
@param cursor
The default cursor for the specified cursor type.
@since 3.1.0
*/
static void SetDefaultHTMLCursor(HTMLCursor type, const wxCursor& cursor);
protected:
/**