]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_tipwin.i
fixes for the dummy classes (used when wxUSE_GRAPHICS_CONTEXT is 0)
[wxWidgets.git] / wxPython / src / _tipwin.i
index cb9b94187975ab3bc900b3ade1fd3a0f2493806f..15e52ead463aa4a1140542f1aca53f388f5a2580 100644 (file)
@@ -23,6 +23,8 @@
 %newgroup;
 
 
 %newgroup;
 
 
+MustHaveApp(wxTipWindow);
+
 class wxTipWindow :
 #ifndef __WXMAC__
     public wxPyPopupTransientWindow
 class wxTipWindow :
 #ifndef __WXMAC__
     public wxPyPopupTransientWindow
@@ -31,7 +33,7 @@ class wxTipWindow :
 #endif
 {
 public:
 #endif
 {
 public:
-    %addtofunc wxTipWindow         "self._setOORInfo(self)"
+    %pythonAppend wxTipWindow         "self._setOORInfo(self)"
     
     %extend {
         wxTipWindow(wxWindow *parent,
     
     %extend {
         wxTipWindow(wxWindow *parent,