X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..6d9713540dd22f7e81a7c11a68249f5ed35c87bd:/include/wx/mac/dialog.h diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index 11652bd281..e6834011c5 100644 --- a/include/wx/mac/dialog.h +++ b/include/wx/mac/dialog.h @@ -12,7 +12,7 @@ #ifndef _WX_DIALOG_H_ #define _WX_DIALOG_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dialog.h" #endif @@ -65,7 +65,7 @@ public: ~wxDialog(); // virtual bool Destroy(); - bool Show(bool show); + bool Show(bool show = true); void SetModal(bool flag); virtual bool IsModal() const; @@ -79,10 +79,6 @@ public: // returns TRUE if we're in a modal loop bool IsModalShowing() const; -#if WXWIN_COMPATIBILITY - bool Iconized() const { return IsIconized(); }; -#endif - // implementation // --------------