Fixes for Unicode build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2004-05-24 21:00:07 +00:00
parent 37699af5bb
commit 7eb8c6ee3e
2 changed files with 6 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ public:
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);
};
@@ -51,7 +51,7 @@ public:
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);
@@ -64,7 +64,7 @@ public:
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);