]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/baseserver.cpp
Skip EVT_RIGHT_UP event in wxHtmlWindow if it wasn't handled.
[wxWidgets.git] / samples / sockets / baseserver.cpp
index 0d4c8de9f1c9396018140e792d5a30f1c16c7c75..ac856e80a269c0d18c85d191665f715550f9e744 100644 (file)
@@ -315,7 +315,7 @@ bool Server::OnInit()
     m_listeningSocket->SetEventHandler(*this);
     m_listeningSocket->SetNotify(wxSOCKET_CONNECTION_FLAG);
     m_listeningSocket->Notify(true);
-    if (!m_listeningSocket->Ok())
+    if (!m_listeningSocket->IsOk())
     {
         wxLogError("Cannot bind listening socket");
         return false;