X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/293d3988da067efcdef968ceead0f74c65b2778c..61d457caae3e33efe8e0953f79c4a94e366b22d7:/include/wx/mac/pnghand.h diff --git a/include/wx/mac/pnghand.h b/include/wx/mac/pnghand.h index 6d4fbfe41e..e75688c75e 100644 --- a/include/wx/mac/pnghand.h +++ b/include/wx/mac/pnghand.h @@ -5,11 +5,11 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Microsoft, Julian Smart -// Licence: wxWindows licence +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "pnghand.h" #endif @@ -22,9 +22,9 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler public: inline wxPNGFileHandler(void) { - m_name = "PNG bitmap file"; - m_extension = "bmp"; - m_type = wxBITMAP_TYPE_PNG; + m_name = wxT("PNG bitmap file"); + m_extension = wxT("bmp"); + m_type = wxBITMAP_TYPE_PNG; }; virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,