X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b883c9de8c1bd93ece8fd7403d759dd738817d7..dec0a353ff73e2c335536a0422428beca7359ee7:/src/generic/logg.cpp diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index db877a0e00..a56044a05f 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -448,6 +448,9 @@ public: wxLogFrame(wxWindow *pParent, wxLogWindow *log, const wxString& szTitle); virtual ~wxLogFrame(); + // Don't prevent the application from exiting if just this frame remains. + virtual bool ShouldPreventAppExit() const { return false; } + // menu callbacks void OnClose(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent& event);