From 428b6942f2cce6bfeadf0882ad7fd28952b3e5f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 14 Dec 2003 11:53:15 +0000 Subject: [PATCH] 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 --- src/unix/displayx11.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 0a3a132c67..c19c2c2f60 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -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; } } -- 2.45.2