X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1cbee0b42c9755a98104e3b1d8fd1133483ea54f..53c9228ead0c7c0955bdc882fc2ccc9aae8342ba:/include/wx/toplevel.h?ds=sidebyside diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 84ac5bffeb..d7a8fddd7a 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -14,14 +14,14 @@ #ifndef _WX_TOPLEVEL_BASE_H_ #define _WX_TOPLEVEL_BASE_H_ +#if defined(__GNUG__) && !defined(__APPLE__) + #pragma interface "toplevelbase.h" +#endif + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma interface "toplevelbase.h" -#endif - #include "wx/window.h" #include "wx/iconbndl.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);