X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..851b3a889f69c33b8a94bf9c626141b7f1cadbbb:/src/mac/icon.cpp diff --git a/src/mac/icon.cpp b/src/mac/icon.cpp index 2ae29d1859..5ec5f3ec80 100644 --- a/src/mac/icon.cpp +++ b/src/mac/icon.cpp @@ -31,24 +31,23 @@ wxIcon::wxIcon() } wxIcon::wxIcon(const char bits[], int width, int height) : - wxBitmap(bits,width,height ) + wxBitmap(bits, width, height) { } wxIcon::wxIcon( const char **bits ) : - wxBitmap(bits ) + wxBitmap(bits) { } wxIcon::wxIcon( char **bits ) : - wxBitmap(bits ) + wxBitmap(bits) { } wxIcon::wxIcon(const wxString& icon_file, int flags, int desiredWidth, int desiredHeight) - { LoadFile(icon_file, (wxBitmapType) flags, desiredWidth, desiredHeight); } @@ -84,7 +83,7 @@ bool wxICONResourceHandler::LoadFile(wxBitmap *bitmap, const wxString& name, lo int desiredWidth, int desiredHeight) { short theId = -1 ; - if ( name == "wxICON_INFO" ) + if ( name == "wxICON_INFORMATION" ) { theId = kNoteIcon ; }