X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19ff0b2c2a9c1baaf4aa2cfd653fcee974f93ba5..a43ed08aa8f39c31feebd5cc0d079b0a855082b6:/samples/html/htmlctrl/htmlctrl.cpp diff --git a/samples/html/htmlctrl/htmlctrl.cpp b/samples/html/htmlctrl/htmlctrl.cpp index f8fca45982..775db9ccad 100755 --- a/samples/html/htmlctrl/htmlctrl.cpp +++ b/samples/html/htmlctrl/htmlctrl.cpp @@ -188,7 +188,7 @@ MyFrame::MyFrame(const wxString& title) // Testing wxWebKitCtrl inside a panel #if 1 - wxPanel* panel = new wxPanel(this, -1); + wxPanel* panel = new wxPanel(this, wxID_ANY); wxBoxSizer* boxSizer = new wxBoxSizer(wxVERTICAL); panel->SetSizer(boxSizer); @@ -224,7 +224,7 @@ void MyFrame::OnStopButton(wxCommandEvent& myEvent){ } void MyFrame::OnReloadButton(wxCommandEvent& myEvent){ - mySafari->Reload(); + mySafari->Reload(); } void MyFrame::OnURLEnter(wxCommandEvent& myEvent){