]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/server.cpp
Removal of first part of dsw files (as requested by Jamie Gadd).
[wxWidgets.git] / samples / ipc / server.cpp
index 4b735d96ed62d512e9d00fc95fc9906660f47136..9680d222f8c621933687686455cea3cf13e0007c 100644 (file)
@@ -165,7 +165,7 @@ void MyFrame::Enable()
     GetStart()->Enable(m_server == NULL);
     GetServername()->Enable(m_server == NULL);
     GetAdvise()->Enable(m_server && m_server->CanAdvise());
-    GetDisconnect()->Enable(m_server && m_server->IsConnected() != NULL);
+    GetDisconnect()->Enable(m_server && m_server->IsConnected());
 }
 
 void MyFrame::OnClose(wxCloseEvent& event)