fixed compilation errors, made messages more human-oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
755a8205b8
commit
428b6942f2
@ -21,6 +21,7 @@
|
||||
#endif
|
||||
|
||||
#include "wx/display.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/log.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
@ -191,7 +192,7 @@ wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
|
||||
}
|
||||
else //OOPS!
|
||||
{
|
||||
wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::GetModes()!");
|
||||
wxLogSysError(_("Failed to enumerate video modes"));
|
||||
}
|
||||
|
||||
return Modes;
|
||||
@ -252,7 +253,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
|
||||
}
|
||||
else //OOPS!
|
||||
{
|
||||
wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::ChangeMode()!");
|
||||
wxLogSysError(_("Failed to change video mode"));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user