]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_log.i
Add wx.Rect.InsideRect
[wxWidgets.git] / wxPython / src / _log.i
index 4aa96d65bde7bfda0f92266ed51a282ead6bb092..f02bf3c39cd67566fbefb80ac6a422f1aa0a9679 100644 (file)
@@ -106,6 +106,13 @@ public:
     // current is NULL?
     static void DontCreateOnDemand();
 
+    // log the count of repeating messages instead of logging the messages
+    // multiple times
+    static void SetRepetitionCounting(bool bRepetCounting = true);
+
+    // gets duplicate counting status
+    static bool GetRepetitionCounting();
+
     // trace mask (see wxTraceXXX constants for details)
     static void SetTraceMask(wxTraceMask ulMask);
 
@@ -388,8 +395,10 @@ public:
             wxLog::DoLogString(szString, t);
     }
 
+    DEC_PYCALLBACK_VOID_(Flush);
     PYPRIVATE;
 };
+IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
 %}
 
 // Now tell SWIG about it