]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlctrl/webkit/webkit.mm
replace use of deprecated GtkPixmap, gtk_container_border_width
[wxWidgets.git] / src / html / htmlctrl / webkit / webkit.mm
index 5e88efa8e4c77ceb8ae1a6a546c71d384f0aaca0..1ade64025be7a220a69888fa4cb811c9170ca21e 100755 (executable)
@@ -249,10 +249,7 @@ void wxWebKitCtrl::SetPageSource(wxString& source, const wxString& baseUrl){
     if ( !m_webView )
         return;
 
-    if (CanGetPageSource()){
-        [[m_webView mainFrame] loadHTMLString:(NSString*)wxNSStringWithWxString( source ) baseURL:[NSURL URLWithString:wxNSStringWithWxString( baseUrl )]];
-    }
-
+    [[m_webView mainFrame] loadHTMLString:(NSString*)wxNSStringWithWxString( source ) baseURL:[NSURL URLWithString:wxNSStringWithWxString( baseUrl )]];
 }
 
 void wxWebKitCtrl::OnSize(wxSizeEvent &event){