QA: Use wxLogError() (not wxLogDebug()) in DisplayError[Message]()
This commit is contained in:
parent
574783bf70
commit
67d149ca73
|
@ -281,7 +281,7 @@ void DisplayError( wxWindow* aParent, const wxString& aText, int aDisplayTime )
|
||||||
{
|
{
|
||||||
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
|
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
|
||||||
{
|
{
|
||||||
wxLogDebug( "%s", aText );
|
wxLogError( "%s", aText );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ void DisplayErrorMessage( wxWindow* aParent, const wxString& aText, const wxStri
|
||||||
{
|
{
|
||||||
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
|
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
|
||||||
{
|
{
|
||||||
wxLogDebug( "%s %s", aText, aExtraInfo );
|
wxLogError( "%s %s", aText, aExtraInfo );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue