more unused parameters warnings (should have been part of r49659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -415,6 +415,9 @@ wxFont wxAuiDefaultDockArt::GetFont(int id)
|
||||
void wxAuiDefaultDockArt::DrawSash(wxDC& dc, wxWindow *window, int orientation, const wxRect& rect)
|
||||
{
|
||||
#if defined(__WXMAC__)
|
||||
wxUnusedVar(window);
|
||||
wxUnusedVar(orientation);
|
||||
|
||||
HIRect splitterRect = CGRectMake( rect.x , rect.y , rect.width , rect.height );
|
||||
CGContextRef cgContext ;
|
||||
#if wxMAC_USE_CORE_GRAPHICS
|
||||
|
@@ -226,12 +226,12 @@ void wxHtmlHelpFrame::UseConfig(wxConfigBase *config, const wxString& rootPath)
|
||||
}
|
||||
|
||||
#ifdef __WXMAC__
|
||||
void wxHtmlHelpFrame::OnClose(wxCommandEvent& event)
|
||||
void wxHtmlHelpFrame::OnClose(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
Close(true);
|
||||
}
|
||||
|
||||
void wxHtmlHelpFrame::OnAbout(wxCommandEvent& event)
|
||||
void wxHtmlHelpFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxMessageBox(wxT("wxWidgets HTML Help Viewer (c) 1998-2006, Vaclav Slavik et al"), wxT("HelpView"),
|
||||
wxICON_INFORMATION|wxOK, this);
|
||||
|
@@ -791,6 +791,8 @@ void wxWebKitCtrl::MacVisibilityChanged(){
|
||||
|
||||
- (void)webView:(WebView *)sender didFailLoadWithError:(NSError*) error forFrame:(WebFrame *)frame
|
||||
{
|
||||
wxUnusedVar(error);
|
||||
|
||||
if (webKitWindow && frame == [sender mainFrame]){
|
||||
NSString *url = [[[[frame dataSource] request] URL] absoluteString];
|
||||
wxWebKitStateChangedEvent thisEvent(webKitWindow);
|
||||
@@ -803,6 +805,8 @@ void wxWebKitCtrl::MacVisibilityChanged(){
|
||||
|
||||
- (void)webView:(WebView *)sender didFailProvisionalLoadWithError:(NSError*) error forFrame:(WebFrame *)frame
|
||||
{
|
||||
wxUnusedVar(error);
|
||||
|
||||
if (webKitWindow && frame == [sender mainFrame]){
|
||||
NSString *url = [[[[frame provisionalDataSource] request] URL] absoluteString];
|
||||
wxWebKitStateChangedEvent thisEvent(webKitWindow);
|
||||
@@ -832,6 +836,9 @@ void wxWebKitCtrl::MacVisibilityChanged(){
|
||||
|
||||
- (void)webView:(WebView *)sender decidePolicyForNavigationAction:(NSDictionary *)actionInformation request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener
|
||||
{
|
||||
wxUnusedVar(sender);
|
||||
wxUnusedVar(frame);
|
||||
|
||||
wxWebKitBeforeLoadEvent thisEvent(webKitWindow);
|
||||
|
||||
// Get the navigation type.
|
||||
@@ -845,7 +852,7 @@ void wxWebKitCtrl::MacVisibilityChanged(){
|
||||
if (webKitWindow && webKitWindow->GetEventHandler())
|
||||
webKitWindow->GetEventHandler()->ProcessEvent(thisEvent);
|
||||
|
||||
if (thisEvent.IsCancelled())
|
||||
if (thisEvent.IsCancelled())
|
||||
[listener ignore];
|
||||
else
|
||||
[listener use];
|
||||
|
Reference in New Issue
Block a user