]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/iconbndl.h
added macros to avoid code repetition when defining comparison operators; use them...
[wxWidgets.git] / include / wx / iconbndl.h
index 001530f0085eb776ddb92034a30c43ae428f701a..3749467240b63a30a6827098bb7e2ced603f46b6 100644 (file)
 #ifndef _WX_ICONBNDL_H_
 #define _WX_ICONBNDL_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "iconbndl.h"
-#endif
-
 #include "wx/dynarray.h"
 // for wxSize
 #include "wx/gdicmn.h"
@@ -60,7 +56,7 @@ public:
     // returns the first icon in the bundle
     const wxIcon& GetIcon( const wxSize& size ) const;
     // equivalent to GetIcon( wxSize( size, size ) )
-    const wxIcon& GetIcon( wxCoord size = -1 ) const
+    const wxIcon& GetIcon( wxCoord size = wxDefaultCoord ) const
         { return GetIcon( wxSize( size, size ) ); }
 private:
     // delete all icons