]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/iewin/iewin.i
warning fix
[wxWidgets.git] / wxPython / contrib / iewin / iewin.i
index 72342916c04b34c99215cc25b22213c905cc3d3f..f55d9260a4db6a5c96e7b92449b1c5ea1d5da504 100644 (file)
@@ -11,7 +11,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 
-%module iewin
+%module(package="wx") iewin
 
 %{
 #include "wx/wxPython/wxPython.h"
@@ -78,6 +78,8 @@ enum wxIEHtmlRefreshLevel {
 };
 
 
+MustHaveApp(wxIEHtmlWin);
+
 class wxIEHtmlWin : public wxWindow /* wxActiveX */ 
 {
 public:
@@ -98,14 +100,14 @@ 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();
 
 };