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:
Vadim Zeitlin
2007-11-05 22:33:54 +00:00
parent 773623f2ae
commit 8a088306dd
3 changed files with 58 additions and 48 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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.