X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47dc9f78713d756fe0426a9f747a0f1151323b6a..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/generic/prntdlgg.h diff --git a/include/wx/generic/prntdlgg.h b/include/wx/generic/prntdlgg.h index f687fb38b6..d0114adf29 100644 --- a/include/wx/generic/prntdlgg.h +++ b/include/wx/generic/prntdlgg.h @@ -13,7 +13,7 @@ #ifndef __PRINTDLGH_G_ #define __PRINTDLGH_G_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "prntdlgg.h" #endif @@ -160,7 +160,8 @@ private: class WXDLLEXPORT wxGenericPageSetupDialog : public wxDialog { public: - wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = (wxPageSetupData*) NULL); + wxGenericPageSetupDialog(wxWindow *parent = NULL, + wxPageSetupData* data = NULL); virtual ~wxGenericPageSetupDialog(); virtual bool TransferDataFromWindow(); @@ -186,7 +187,7 @@ public: private: DECLARE_EVENT_TABLE() - DECLARE_CLASS(wxGenericPageSetupDialog) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxGenericPageSetupDialog) }; #endif