%module help
%{
-#include "export.h"
+#include "wxPython.h"
#include <wx/cshelp.h>
%}
//---------------------------------------------------------------------------
-
-class wxContextMenuEvent : public wxCommandEvent
-{
-public:
- wxContextMenuEvent(wxEventType type = wxEVT_NULL,
- wxWindowID id = 0,
- const wxPoint& pt = wxDefaultPosition);
- const wxPoint& GetPosition();
- void SetPosition(const wxPoint& pos);
-};
-
-
-
-//----------------------------------------------------------------------
-
class wxContextHelp : public wxObject {
public:
wxContextHelp(wxWindow* window = NULL, bool doNow = TRUE);
// Virtuals...
wxString GetHelp(const wxWindow *window);
- bool ShowHelp(wxWindowBase *window);
- void AddHelp(wxWindowBase *window, const wxString& text);
+ bool ShowHelp(wxWindow *window);
+ void AddHelp(wxWindow *window, const wxString& text);
%name(AddHelpById)void AddHelp(wxWindowID id, const wxString& text);
%addmethods { void Destroy() { delete self; } }