]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pnghand.h
Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
[wxWidgets.git] / include / wx / mac / carbon / pnghand.h
index d700daad656d914813312557052f21b139742e47..d58a996308f9b709c06cb3fc124e97bb79c69a14 100644 (file)
@@ -26,9 +26,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,