1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-13 14:13:32 +02:00

Help button for many warning messages; Restored warning icon.

The error icon was gone because we are now using the ErrorDialog, which didn't have it.  So added back explicitly.  I decided to go with wxART_WARNING rather than wxART_ERROR because nearly all of these present as warnings.
This commit is contained in:
James Crook
2020-09-14 17:43:28 +01:00
parent b9212d8393
commit caf4eadb97
14 changed files with 74 additions and 20 deletions

View File

@@ -209,7 +209,11 @@ static void Extract(bool bits16,
}
if( dataSizeIn < 1 )
throw SimpleMessageBoxException{XO("Bad data size")};
throw SimpleMessageBoxException{
XO("Bad data size. Could not import audio"),
XO("Warning"),
"Error:_Importing_raw_audio"
};
size_t dataSize = (size_t)dataSizeIn;