X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1cbee0b42c9755a98104e3b1d8fd1133483ea54f..0326d9689eb518ff3d8070cd83ea1d36a6f3324f:/include/wx/toplevel.h?ds=inline diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 84ac5bffeb..3b33682aa6 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -140,9 +140,9 @@ protected: virtual bool IsOneOfBars(const wxWindow *WXUNUSED(win)) const { return FALSE; } - // check if we should exit the program after deleting another top level + // check if we should exit the program after deleting this top level // window (this is used in common dtor and wxMSW code) - static bool IsLastBeforeExit(); + bool IsLastBeforeExit() const; // send the iconize event, return TRUE if processed bool SendIconizeEvent(bool iconized = TRUE);