#include "wx/filesys.h"
#include "wx/fs_arc.h"
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
m_url->SetValue( m_browser->GetCurrentURL() );
}
-void WebFrame::OnIdle(wxIdleEvent& evt)
+void WebFrame::OnIdle(wxIdleEvent& WXUNUSED(evt))
{
if(m_browser->IsBusy())
{
void WebFrame::OnUrl(wxCommandEvent& WXUNUSED(evt))
{
m_browser->LoadURL( m_url->GetValue() );
+ m_browser->SetFocus();
UpdateState();
}