]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/iconbndl.h
take const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()
[wxWidgets.git] / include / wx / iconbndl.h
index 29a00000b5a7c8b569da7ed7c964a0de35d1808f..1f0747547d02632cc904ef3a294f7b4a11613e39 100644 (file)
@@ -84,10 +84,10 @@ public:
     // check if we have any icons at all
     bool IsEmpty() const { return GetIconCount() == 0; }
 
-#ifdef WXWIN_COMPATIBILITY_2_8
+#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED( void AddIcon(const wxString& file, long type)
         {
-            AddIcon(file, (long)type);
+            AddIcon(file, (wxBitmapType)type);
         }
     )