X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb42d7c3b4aa088a51fabf71203e8c5ee784d734..6dd16e4f26490f1f4f2be1204840cbf4ecf74a35:/include/wx/variant.h?ds=inline diff --git a/include/wx/variant.h b/include/wx/variant.h index 72db3faae9..3c47bc497e 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -12,7 +12,7 @@ #ifndef _WX_VARIANT_H_ #define _WX_VARIANT_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "variant.h" #endif @@ -268,7 +268,7 @@ public: void ClearList(); // Implementation -protected: +public: // Type conversion bool Convert(long* value) const; bool Convert(bool* value) const;