]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation errors, made messages more human-oriented
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 14 Dec 2003 11:53:15 +0000 (11:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 14 Dec 2003 11:53:15 +0000 (11:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/displayx11.cpp

index 0a3a132c67353d5b5250a34c9105dba664354629..c19c2c2f60d4aea265dd7b038e3c1718357386ea 100644 (file)
@@ -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;
         }
     }