change wxICON_INFO to wxICON_INFORMATION in Mac and MSW wxIcon code to be consistent with the constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,7 +84,7 @@ bool wxICONResourceHandler::LoadFile(wxBitmap *bitmap, const wxString& name, lo
|
|||||||
int desiredWidth, int desiredHeight)
|
int desiredWidth, int desiredHeight)
|
||||||
{
|
{
|
||||||
short theId = -1 ;
|
short theId = -1 ;
|
||||||
if ( name == "wxICON_INFO" )
|
if ( name == "wxICON_INFORMATION" )
|
||||||
{
|
{
|
||||||
theId = kNoteIcon ;
|
theId = kNoteIcon ;
|
||||||
}
|
}
|
||||||
|
@@ -84,7 +84,7 @@ bool wxICONResourceHandler::LoadFile(wxBitmap *bitmap, const wxString& name, lo
|
|||||||
int desiredWidth, int desiredHeight)
|
int desiredWidth, int desiredHeight)
|
||||||
{
|
{
|
||||||
short theId = -1 ;
|
short theId = -1 ;
|
||||||
if ( name == "wxICON_INFO" )
|
if ( name == "wxICON_INFORMATION" )
|
||||||
{
|
{
|
||||||
theId = kNoteIcon ;
|
theId = kNoteIcon ;
|
||||||
}
|
}
|
||||||
|
@@ -539,7 +539,7 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon,
|
|||||||
{ wxT("wxICON_QUESTION"), IDI_QUESTION },
|
{ wxT("wxICON_QUESTION"), IDI_QUESTION },
|
||||||
{ wxT("wxICON_WARNING"), IDI_EXCLAMATION },
|
{ wxT("wxICON_WARNING"), IDI_EXCLAMATION },
|
||||||
{ wxT("wxICON_ERROR"), IDI_HAND },
|
{ wxT("wxICON_ERROR"), IDI_HAND },
|
||||||
{ wxT("wxICON_INFO"), IDI_ASTERISK },
|
{ wxT("wxICON_INFORMATION"), IDI_ASTERISK },
|
||||||
};
|
};
|
||||||
|
|
||||||
for ( size_t nIcon = 0; !hicon && nIcon < WXSIZEOF(stdIcons); nIcon++ )
|
for ( size_t nIcon = 0; !hicon && nIcon < WXSIZEOF(stdIcons); nIcon++ )
|
||||||
|
Reference in New Issue
Block a user