X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/674ac8b919eecbc201b5f23b470a567cd0565e10..307b0b97ee4c88f7fab8b48e463da54b72b41367:/include/wx/validate.h diff --git a/include/wx/validate.h b/include/wx/validate.h index 0cd221045c..f4be5b093d 100644 --- a/include/wx/validate.h +++ b/include/wx/validate.h @@ -12,7 +12,7 @@ #ifndef _WX_VALIDATEH__ #define _WX_VALIDATEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "validate.h" #endif @@ -83,6 +83,7 @@ private: static bool ms_isSilent; DECLARE_DYNAMIC_CLASS(wxValidator) + DECLARE_NO_COPY_CLASS(wxValidator) }; WXDLLEXPORT_DATA(extern const wxValidator) wxDefaultValidator;