]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pnghand.h
added wxAnimationCtrl (patch 1570325)
[wxWidgets.git] / include / wx / mac / carbon / pnghand.h
index d700daad656d914813312557052f21b139742e47..2d8b4a0b27a1b92dc3ec4a66e8a0378b98aed6dd 100644 (file)
 #ifndef _WX_PNGHAND_H_
 #define _WX_PNGHAND_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "pnghand.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_LIBPNG
@@ -26,9 +22,9 @@ class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
 public:
   inline wxPNGFileHandler(void)
   {
-    m_name = wxT("PNG bitmap file");
-    m_extension = wxT("bmp");
-    m_type = wxBITMAP_TYPE_PNG;
+    SetName(wxT("PNG bitmap file"));
+    SetExtension(wxT("bmp"));
+    SetType(wxBITMAP_TYPE_PNG);
   };
 
   virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags,