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:
Václav Slavík
2003-12-14 11:53:15 +00:00
parent 755a8205b8
commit 428b6942f2

View File

@@ -21,6 +21,7 @@
#endif #endif
#include "wx/display.h" #include "wx/display.h"
#include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
@@ -191,7 +192,7 @@ wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
} }
else //OOPS! else //OOPS!
{ {
wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::GetModes()!"); wxLogSysError(_("Failed to enumerate video modes"));
} }
return Modes; return Modes;
@@ -252,7 +253,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode)
} }
else //OOPS! else //OOPS!
{ {
wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::ChangeMode()!"); wxLogSysError(_("Failed to change video mode"));
return false; return false;
} }
} }