X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a20d2ced0a0779b5d8b1cc8064f8404b2727e92..5f1f21d2a54124859b1fbeaa31ebf373bb5f0114:/include/wx/generic/logg.h diff --git a/include/wx/generic/logg.h b/include/wx/generic/logg.h index 33ba8d6c08..ae66dd0ada 100644 --- a/include/wx/generic/logg.h +++ b/include/wx/generic/logg.h @@ -32,6 +32,8 @@ protected: // implement sink function virtual void DoLogString(const wxString& szString, time_t t); + wxSUPPRESS_DOLOGSTRING_HIDE_WARNING() + private: // the control we use wxTextCtrl *m_pTextCtrl; @@ -59,6 +61,8 @@ public: protected: virtual void DoLog(wxLogLevel level, const wxString& szString, time_t t); + wxSUPPRESS_DOLOG_HIDE_WARNING() + // empty everything void Clear(); @@ -85,8 +89,8 @@ protected: class WXDLLEXPORT wxLogWindow : public wxLogPassThrough { public: - wxLogWindow(wxWindow *pParent, // the parent frame (can be NULL) - const wxChar *szTitle, // the title of the frame + wxLogWindow(wxWindow *pParent, // the parent frame (can be NULL) + const wxString& szTitle, // the title of the frame bool bShow = true, // show window immediately? bool bPassToOld = true); // pass messages to the old target? @@ -115,6 +119,9 @@ protected: virtual void DoLog(wxLogLevel level, const wxString& szString, time_t t); virtual void DoLogString(const wxString& szString, time_t t); + wxSUPPRESS_DOLOG_HIDE_WARNING() + wxSUPPRESS_DOLOGSTRING_HIDE_WARNING() + private: wxLogFrame *m_pLogFrame; // the log frame