X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d89ddefa968e2449d10e07a261d070b3fc180ab..339963e0d0b273eec7fb419aeeb78f31c16d6730:/include/wx/mac/pnghand.h diff --git a/include/wx/mac/pnghand.h b/include/wx/mac/pnghand.h index 7aedd44a6d..19271c4705 100644 --- a/include/wx/mac/pnghand.h +++ b/include/wx/mac/pnghand.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "pnghand.h" #endif @@ -22,8 +22,8 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler public: inline wxPNGFileHandler(void) { - m_name = "PNG bitmap file"; - m_extension = "bmp"; + m_name = wxT("PNG bitmap file"); + m_extension = wxT("bmp"); m_type = wxBITMAP_TYPE_PNG; };