]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/icon.h
changed Remove/InsertDir() parameter type to size_t from int; added RemoveLastDir()
[wxWidgets.git] / include / wx / motif / icon.h
index 1f2fab60b99e669e0ef34bb4c55c20fab01f8a31..e6d52926ea5d41cd58a49af3aaaefa32db8a1314 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_ICON_H_
 #define _WX_ICON_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "icon.h"
 #endif
 
@@ -42,7 +42,7 @@ public:
 
     wxIcon(const wxIconLocation& loc)
     {
-        LoadFile(loc.GetFileName());
+        LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY);
     }
 
     ~wxIcon();
@@ -63,7 +63,7 @@ public:
         { return !(*this == icon); }
 
 
-    DECLARE_DYNAMIC_CLASS(wxIcon);
+    DECLARE_DYNAMIC_CLASS(wxIcon)
 };
 
 #endif // _WX_ICON_H_