Lines Matching defs:ok
543 bool ok = wxGetUserId(wxStringBuffer(buf, maxLoginLen), maxLoginLen);
545 if ( !ok )
556 bool ok = wxGetUserName(wxStringBuffer(buf, maxUserNameLen), maxUserNameLen);
558 if ( !ok )
569 bool ok = wxGetHostName(wxStringBuffer(buf, hostnameSize), hostnameSize);
571 if ( !ok )
582 bool ok = wxGetFullHostName(wxStringBuffer(buf, hostnameSize), hostnameSize);
584 if ( !ok )
604 bool ok;
607 ok = getcwd(dir.GetWriteBuf(len + 1), len) != NULL;
610 if ( !ok )
624 //else: ok
625 } while ( !ok );
638 // returns true if ok, false if error
770 bool ok = keyTopic.Exists() && (keyTopic.QueryDefaultValue() = TOPIC_OPEN_URL);
771 if ( ok )
774 ok = !ddeCmd.empty();
777 if ( ok )
782 ok = ddeCmd.Replace(wxT("-1"), wxT("0"),
786 if ( ok )
790 ok = ddeCmd.Replace(wxT("%1"), url, false) == 1;
793 if ( ok )
914 bool ok = false;
924 ok = ft->GetOpenCommand(&cmd, wxFileType::MessageParameters(url));
929 if ( !ok || cmd.empty() )
937 ok = ( !cmd.empty() && wxExecute(cmd) );
938 if (ok)
939 return ok;