X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62a9d04c7d9cd359f692f72db2adb781b17b4e69..6b73af793f5236c8ad47b8df55166811f4fb042f:/include/wx/iconbndl.h?ds=sidebyside diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 001530f008..46bb7171f5 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -60,7 +60,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