X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..339963e0d0b273eec7fb419aeeb78f31c16d6730:/include/wx/mac/dialog.h diff --git a/include/wx/mac/dialog.h b/include/wx/mac/dialog.h index 11652bd281..4d75cb15ef 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;