]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/baseserver.cpp
Make height of red square depend on value in the model
[wxWidgets.git] / samples / sockets / baseserver.cpp
index ae511045fe154ab2130599bbe64692e91830ba9b..9fcd74f33884563290ced03d1782cbbfef51da94 100644 (file)
@@ -510,7 +510,7 @@ wxThread::ExitCode ThreadWorker::Entry()
 
         if (signature[0] == 0xCE)
         {
-            LogWorker(m_peer,_("This server does not support test2 from GUI client"));
+            LogWorker(m_peer,_("This server does not support test2 from GUI client"),LOG_ERROR);
             e.m_workerFailed = true;
             e.m_exit = true;
             return 0;
@@ -603,7 +603,7 @@ EventWorker::DoRead()
                     unsigned char type = m_signature[0];
                     if (type == 0xCE)
                     {
-                        LogWorker(m_peer,_("This server does not support test2 from GUI client"));
+                        LogWorker(m_peer,_("This server does not support test2 from GUI client"),LOG_ERROR);
                         m_written = -1; //wxSOCKET_LOST will interpret this as failure
                         m_socket->Close();
                     }