]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/iconbndl.h
added wxFileName::GetVolumeString() (#9950)
[wxWidgets.git] / include / wx / iconbndl.h
index e7db074bad1bcd5c14ad390883a9632a65c8b09c..75aa51c653a53131bf3e11159644b90d06dd3766 100644 (file)
@@ -79,8 +79,9 @@ public:
             AddIcon(file, (wxBitmapType)type);
         }
     )
-
-    wxDEPRECATED( wxIconBundle(const wxString& file, long type)
+    // explicitly specifying inline allows gcc < 3.4 to
+    // handle the deprecation attribute even in the constructor.
+    wxDEPRECATED( inline wxIconBundle (const wxString& file, long type)
         {
             AddIcon(file, (wxBitmapType)type);
         }