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

@@ -387,6 +387,7 @@ public:
/// Returns standard HTML cursor as used by wxHtmlWindow
static wxCursor GetDefaultHTMLCursor(HTMLCursor type);
static void SetDefaultHTMLCursor(HTMLCursor type, const wxCursor& cursor);
protected:
void Init();
@@ -552,6 +553,7 @@ private:
// standard mouse cursors
static wxCursor *ms_cursorLink;
static wxCursor *ms_cursorText;
static wxCursor *ms_cursorDefault;
DECLARE_EVENT_TABLE()
wxDECLARE_NO_COPY_CLASS(wxHtmlWindow);