X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88c7f3f938da664299073a412a146440de447e06..e4a7bbfc1ebf7434b7c291e6fb4a060dcd9b0aee:/wxPython/src/help.i diff --git a/wxPython/src/help.i b/wxPython/src/help.i index f7f6c5a7be..3d2ad7bc78 100644 --- a/wxPython/src/help.i +++ b/wxPython/src/help.i @@ -13,7 +13,7 @@ %module help %{ -#include "export.h" +#include "wxPython.h" #include %} @@ -73,21 +73,6 @@ public: //--------------------------------------------------------------------------- - -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); @@ -120,8 +105,8 @@ public: // 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; } }