From 37617433bb4de18e89d6686e1b536226b6cc9bef Mon Sep 17 00:00:00 2001
From: Robin Dunn <robin@alldunn.com>
Date: Thu, 9 Jun 2005 21:51:21 +0000
Subject: [PATCH] Virtualize OnInternalIdle.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 wxPython/src/_pycontrol.i |  9 ++++++++-
 wxPython/src/_pywindows.i | 21 +++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/wxPython/src/_pycontrol.i b/wxPython/src/_pycontrol.i
index add81220a4..70bdedaeca 100644
--- a/wxPython/src/_pycontrol.i
+++ b/wxPython/src/_pycontrol.i
@@ -75,6 +75,8 @@ public:
     
     DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
 
+    DEC_PYCALLBACK_VOID_(OnInternalIdle);
+
     PYPRIVATE;
 };
 
@@ -108,7 +110,9 @@ IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
 
 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
- %}
+
+IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
+%}
 
 // And now the one for SWIG to see
 MustHaveApp(wxPyControl);
@@ -165,6 +169,9 @@ public:
 
     bool base_ShouldInheritColours() const;
     wxVisualAttributes base_GetDefaultAttributes();
+
+    void base_OnInternalIdle();
+
 };
 
 
diff --git a/wxPython/src/_pywindows.i b/wxPython/src/_pywindows.i
index 69b423e84f..00d753c045 100644
--- a/wxPython/src/_pywindows.i
+++ b/wxPython/src/_pywindows.i
@@ -103,6 +103,8 @@ public:
     
     DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
 
+    DEC_PYCALLBACK_VOID_(OnInternalIdle);
+    
     PYPRIVATE;
 };
 
@@ -136,6 +138,8 @@ IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
 
 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
+
+IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
 %}
 
 // And now the one for SWIG to see
@@ -192,6 +196,9 @@ public:
 
     bool base_ShouldInheritColours() const;
     wxVisualAttributes base_GetDefaultAttributes();
+
+    void base_OnInternalIdle();
+
 };
 
 //---------------------------------------------------------------------------
@@ -257,6 +264,8 @@ public:
     
     DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
 
+    DEC_PYCALLBACK_VOID_(OnInternalIdle);
+
     PYPRIVATE;
 };
 
@@ -290,6 +299,8 @@ IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
 
 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
+
+IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
 %}
 
 // And now the one for SWIG to see
@@ -346,6 +357,9 @@ public:
 
     bool base_ShouldInheritColours() const ;
     wxVisualAttributes base_GetDefaultAttributes();
+
+    void base_OnInternalIdle();
+
 };
 
 //---------------------------------------------------------------------------
@@ -404,6 +418,8 @@ public:
     
     DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
 
+    DEC_PYCALLBACK_VOID_(OnInternalIdle);
+
     PYPRIVATE;
 };
 
@@ -437,6 +453,8 @@ IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritCol
 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
 
 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
+
+IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
 %}
 
 // And now the one for SWIG to see
@@ -493,6 +511,9 @@ public:
 
     bool base_ShouldInheritColours() const;
     wxVisualAttributes base_GetDefaultAttributes();
+
+    void base_OnInternalIdle();
+
 };
 
 
-- 
2.47.2