X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..57fbe23f68f9ef92b8ef7e26bd06b399b53e33b2:/include/wx/resource.h?ds=sidebyside diff --git a/include/wx/resource.h b/include/wx/resource.h index 8eec715169..37c4e86456 100644 --- a/include/wx/resource.h +++ b/include/wx/resource.h @@ -12,7 +12,7 @@ #ifndef _WX_RESOURCEH__ #define _WX_RESOURCEH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "resource.h" #endif @@ -198,6 +198,9 @@ WXDLLEXPORT extern bool wxResourceRegisterBitmapData(const wxString& name, char WXDLLEXPORT extern bool wxResourceAddIdentifier(const wxString& name, int value, wxResourceTable *table = (wxResourceTable *) NULL); WXDLLEXPORT extern int wxResourceGetIdentifier(const wxString& name, wxResourceTable *table = (wxResourceTable *) NULL); +#if defined(__WXPM__) +#include "wx/os2/wxrsc.h" +#endif #endif #endif // _WX_RESOURCEH__