// 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);
}
}
- %pythonAppend Destroy "args[0].thisown = 0";
+ %pythonPrepend Destroy "args[0].this.own(False)";
%extend { void Destroy() { delete self; } }
-
- void DoLog(wxLogLevel level, const wxChar *szString, long t);
- void DoLogString(const wxChar *szString, long t);
};
wxLog *GetOldLog() const;
bool IsPassingMessages() const;
void PassMessages(bool bDoPass);
+
+ %property(Frame, GetFrame, doc="See `GetFrame`");
+ %property(OldLog, GetOldLog, doc="See `GetOldLog`");
};
void PassMessages(bool bDoPass);
bool IsPassingMessages();
wxLog *GetOldLog();
+
+ %property(OldLog, GetOldLog, doc="See `GetOldLog`");
};
// log everything to a buffer
wxLogBuffer();
// get the string contents with all messages logged
- const wxString& GetBuffer() const { return m_str; }
+ const wxString& GetBuffer() const;
// show the buffer contents to the user in the best possible way (this uses
// wxMessageOutputMessageBox) and clear it
virtual void Flush();
+
+ %property(Buffer, GetBuffer, doc="See `GetBuffer`");
};