| 502 | |
| 503 | |
| 504 | void BrowserDialog::UpdateButtons() |
| 505 | { |
| 506 | wxWindow * pWnd; |
| 507 | if( (pWnd = FindWindowById( wxID_BACKWARD, this )) != NULL ) |
| 508 | { |
| 509 | pWnd->Enable(mpHtml->HistoryCanBack()); |
| 510 | } |
| 511 | if( (pWnd = FindWindowById( wxID_FORWARD, this )) != NULL ) |
| 512 | { |
| 513 | pWnd->Enable(mpHtml->HistoryCanForward()); |
| 514 | } |
| 515 | } |
| 516 | |
| 517 | void OpenInDefaultBrowser(const URLString& link) |
| 518 | { |