X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..5fd588d2298a44428ac66bef1e4d9fc73e18d4fd:/include/wx/valgen.h?ds=inline 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);