]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/iewin/iewin.i
Added some info panels that show size and colour attributes about the widget
[wxWidgets.git] / wxPython / contrib / iewin / iewin.i
index f2d402722267807fdac27d9b2ed44797c0463862..8ea307ec712db4a779ad7fc716f9312e01c946de 100644 (file)
@@ -24,7 +24,8 @@
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__DocFilter(globals()) }
 
 MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
 
@@ -53,8 +54,7 @@ enum {
 };
 
 
-%pythoncode {
-    
+%pythoncode {    
 EVT_MSHTML_BEFORENAVIGATE2      = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_BEFORENAVIGATE2, 1)
 EVT_MSHTML_NEWWINDOW2           = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_NEWWINDOW2, 1)
 EVT_MSHTML_DOCUMENTCOMPLETE     = wx.PyEventBinder(wxEVT_COMMAND_MSHTML_DOCUMENTCOMPLETE, 1)
@@ -76,7 +76,7 @@ enum wxIEHtmlRefreshLevel {
 class wxIEHtmlWin : public wxWindow /* wxActiveX */ 
 {
 public:
-    %addtofunc wxIEHtmlWin      "self._setOORInfo(self)"
+    %pythonAppend wxIEHtmlWin      "self._setOORInfo(self)"
     
     wxIEHtmlWin(wxWindow * parent, wxWindowID id = -1,
                 const wxPoint& pos = wxDefaultPosition,