]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/baseserver.cpp
Rebaked using post-0.2.7 svn version of bakefile.
[wxWidgets.git] / samples / ipc / baseserver.cpp
index 80581e576082ede9aa3daa563ccb194cc635f04b..6549fdfa424a2728382eb64b3e813415b2340104 100644 (file)
@@ -104,7 +104,7 @@ private:
     // should we notify the client about changes to m_item?
     bool m_advise;
 
-    DECLARE_NO_COPY_CLASS(BenchConnection)
+    wxDECLARE_NO_COPY_CLASS(BenchConnection);
 };
 
 // a simple server accepting connections to IPC_TOPIC and IPC_BENCHMARK_TOPIC
@@ -376,7 +376,9 @@ bool BenchConnection::OnPoke(const wxString& topic,
     if ( m_advise )
     {
         if ( !Advise(item, m_item) )
+        {
             wxLogMessage("Failed to advise client about the change.");
+        }
     }
 
     return true;