]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bitmap.h
automatically initialize m_cRef to 0 (patch 575011 + more)
[wxWidgets.git] / include / wx / bitmap.h
index 478697ae6b835f727d1d7a464b0e7d5e46b11752..1783afe29d9287816e02691d82a98c5942898581 100644 (file)
@@ -45,9 +45,10 @@ class WXDLLEXPORT wxBitmapHandlerBase : public wxObject
 {
 public:
     wxBitmapHandlerBase()
-    {
-        m_type = wxBITMAP_TYPE_INVALID;
-    }
+        : m_name()
+        , m_extension()
+        , m_type(wxBITMAP_TYPE_INVALID)
+    { }
 
     virtual ~wxBitmapHandlerBase() { }