]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
fixed handling of the accelerators of menu items added to already attached submenus
[wxWidgets.git] / src / html / htmlwin.cpp
index 2ec463d64184b44955346c5ac209e5217763abac..83307773bcc063f82e2a901054da40f9b2f04ae8 100644 (file)
@@ -826,6 +826,8 @@ bool wxHtmlWindow::CopySelection(ClipboardType t)
             return true;
         }
     }
+#else
+    wxUnusedVar(t);
 #endif // wxUSE_CLIPBOARD
 
     return false;
@@ -1027,6 +1029,8 @@ void wxHtmlWindow::OnMouseDown(wxMouseEvent& event)
             CaptureMouse();
         }
     }
+#else
+    wxUnusedVar(event);
 #endif // wxUSE_CLIPBOARD
 }