X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/generic/imaglist.h?ds=sidebyside diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index 288c7444b4..72c4f68694 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -11,7 +11,7 @@ #ifndef __IMAGELISTH_G__ #define __IMAGELISTH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "imaglist.h" #endif @@ -56,7 +56,7 @@ enum { class WXDLLEXPORT wxGenericImageList: public wxObject { public: - wxGenericImageList() { } + wxGenericImageList() { m_width = m_height = 0; } wxGenericImageList( int width, int height, bool mask = TRUE, int initialCount = 1 ); ~wxGenericImageList(); bool Create( int width, int height, bool mask = TRUE, int initialCount = 1 );