X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..e13f1288772a23069470562fb5e0ce228640e77c:/include/wx/valgen.h diff --git a/include/wx/valgen.h b/include/wx/valgen.h index 1dbcdb62ec..f80ced14c3 100644 --- a/include/wx/valgen.h +++ b/include/wx/valgen.h @@ -12,7 +12,7 @@ #ifndef _WX_VALGENH__ #define _WX_VALGENH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "valgen.h" #endif @@ -22,6 +22,7 @@ class WXDLLEXPORT wxGenericValidator: public wxValidator { +DECLARE_CLASS(wxGenericValidator) public: wxGenericValidator(bool* val); wxGenericValidator(int* val);