From bd1018b930693889ae20c8a6e932768e86d43d41 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Tue, 25 May 2004 04:34:53 +0000 Subject: [PATCH] Updated the class name for wxWebKit to wxWebKitCtrl in sample. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/htmlctrl/htmlctrl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/html/htmlctrl/htmlctrl.cpp b/samples/html/htmlctrl/htmlctrl.cpp index 1997e4346d..d23f6bba80 100755 --- a/samples/html/htmlctrl/htmlctrl.cpp +++ b/samples/html/htmlctrl/htmlctrl.cpp @@ -86,7 +86,7 @@ public: void OnViewSource(wxCommandEvent& myEvent); void OnSetSource(wxCommandEvent& myEvent); void OnStateChanged(wxWebKitStateChangedEvent& myEvent); - wxWebKitControl* mySafari; + wxWebKitCtrl* mySafari; wxTextCtrl* urlText; private: // any class wishing to process wxWindows events must use this macro @@ -186,7 +186,7 @@ MyFrame::MyFrame(const wxString& title) myToolbar->AddSeparator(); myToolbar->Realize(); - mySafari = new wxWebKitControl(this, ID_WEBKIT, _T("http://www.wxwidgets.org"), wxDefaultPosition, wxSize(200, 200)); + mySafari = new wxWebKitCtrl(this, ID_WEBKIT, _T("http://www.wxwidgets.org"), wxDefaultPosition, wxSize(200, 200)); #if wxUSE_STATUSBAR CreateStatusBar(2); @@ -241,7 +241,7 @@ void MyFrame::OnViewSource(wxCommandEvent& myEvent){ void MyFrame::OnSetSource(wxCommandEvent& myEvent){ if (mySafari){ - wxString myText = wxString("

Hello world!

"); + wxString myText = wxT("

Hello world!

"); mySafari->SetPageSource(myText); } }