Gobs of changes needed to get up to date with today's CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-31 00:57:21 +00:00
parent bb9e79c05e
commit 8f514ab459
57 changed files with 5361 additions and 1497 deletions

View File

@@ -1569,20 +1569,47 @@ public:
%property(TreeCtrl, GetTreeCtrl, doc="See `GetTreeCtrl`");
};
//---------------------------------------------------------------------------
class wxHtmlWindowEvent: public wxNotifyEvent
%constant wxEventType wxEVT_COMMAND_HTML_CELL_CLICKED;
%constant wxEventType wxEVT_COMMAND_HTML_CELL_HOVER;
%constant wxEventType wxEVT_COMMAND_HTML_LINK_CLICKED;
class wxHtmlCellEvent : public wxCommandEvent
{
public:
wxHtmlWindowEvent(wxEventType commandType = wxEVT_NULL, int id = 0):
wxNotifyEvent(commandType, id);
wxHtmlCellEvent(wxEventType commandType, int id,
wxHtmlCell *cell, const wxPoint &pt,
const wxMouseEvent &ev);
void SetURL(const wxString& url);
const wxString& GetURL() const;
wxHtmlCell* GetCell() const;
wxPoint GetPoint() const;
wxMouseEvent GetMouseEvent() const;
%property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
void SetLinkClicked(bool linkclicked);
bool GetLinkClicked() const;
};
class wxHtmlLinkEvent : public wxCommandEvent
{
public:
wxHtmlLinkEvent(int id, const wxHtmlLinkInfo &linkinfo);
const wxHtmlLinkInfo &GetLinkInfo() const;
};
%pythoncode {
EVT_HTML_CELL_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_CLICKED, 1 )
EVT_HTML_CELL_HOVER = wx.PyEventBinder( wxEVT_COMMAND_HTML_CELL_HOVER, 1 )
EVT_HTML_LINK_CLICKED = wx.PyEventBinder( wxEVT_COMMAND_HTML_LINK_CLICKED, 1 )
}
//---------------------------------------------------------------------------
MustHaveApp(wxHtmlHelpFrame);