]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/baseserver.cpp
make sure ShowEvent doesn't get triggered to early during construction
[wxWidgets.git] / samples / sockets / baseserver.cpp
index 283ecb6b8e1afe653d8f545bd40292e90579f42b..ae30bce692274a36b2c8e9cb3bff1d45033c3fe0 100644 (file)
@@ -101,7 +101,7 @@ WX_DECLARE_LIST(EventWorker, EList);
 //and list of two type worker classes that serve clients
 class Server : public wxApp
 {
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 public:
     Server() : m_maxConnections(-1) {}
     ~Server() {}
@@ -198,7 +198,7 @@ private:
     void DoWrite();
     void DoRead();
 
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 };
 
 /******************* Implementation ******************/