/////////////////////////////////////////////////////////////////////////////
-%module iewin
+%module(package="wx") iewin
%{
#include "wx/wxPython/wxPython.h"
//---------------------------------------------------------------------------
%import core.i
-%pythoncode { wx = core }
-%pythoncode { __docfilter__ = wx.__docfilter__ }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
+%pythoncode {
+ import warnings
+ warnings.warn("This module is deprecated. Please use the wx.lib.iewin module instead.",
+ DeprecationWarning, stacklevel=2)
+}
MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
};
+MustHaveApp(wxIEHtmlWin);
+
class wxIEHtmlWin : public wxWindow /* wxActiveX */
{
public:
void SetCharset(wxString charset);
void SetEditMode(bool seton);
bool GetEditMode();
- wxString GetStringSelection(bool asHTML = False);
- wxString GetText(bool asHTML = False);
+ wxString GetStringSelection(bool asHTML = false);
+ wxString GetText(bool asHTML = false);
bool GoBack();
bool GoForward();
bool GoHome();
bool GoSearch();
- %name(RefreshPage)bool Refresh(wxIEHtmlRefreshLevel level);
+ %Rename(RefreshPage, bool, Refresh(wxIEHtmlRefreshLevel level));
bool Stop();
};