git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27415
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxString("default_webkit_name"))
+ const wxString& name = wxT("webkitctrl"))
{
Create(parent, winID, strURL, pos, size, style, validator, name);
};
{
Create(parent, winID, strURL, pos, size, style, validator, name);
};
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxString("default_webkit_name"));
+ const wxString& name = wxT("webkitctrl"));
virtual ~wxWebKitCtrl();
void LoadURL(const wxString &url);
virtual ~wxWebKitCtrl();
void LoadURL(const wxString &url);
void Stop();
bool CanGetPageSource();
wxString GetPageSource();
void Stop();
bool CanGetPageSource();
wxString GetPageSource();
- void SetPageSource(wxString& source, const wxString& baseUrl = wxString(""));
+ void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString);
//we need to resize the webview when the control size changes
//void OnSize(wxSizeEvent &event);
//we need to resize the webview when the control size changes
//void OnSize(wxSizeEvent &event);
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
- #pragma implementation "wxWebKit.h"
+ #pragma implementation "webkit.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
//still needed for wxCocoa??
/*
//still needed for wxCocoa??
/*
- [[m_webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithCString:url.c_str()]]]];
+ [[m_webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:wxNSStringWithWxString(url)]]];