Sfoglia il codice sorgente

Removed unused parameters

I am not sure why there were parameters for this method when they
weren't being used (perhaps leftover from before?), but I removed them.
Nathan Bowhay 10 anni fa
parent
commit
ae706b2407
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Engine/source/gui/editor/guiMenuBar.cpp

+ 1 - 1
Engine/source/gui/editor/guiMenuBar.cpp

@@ -159,7 +159,7 @@ IMPLEMENT_CALLBACK( GuiMenuBar, onSubmenuSelect, void, ( const char* submenuId,
 // console methods
 //------------------------------------------------------------------------------
 
-DefineEngineMethod( GuiMenuBar, clearMenus, void, ( S32 param1, S32 param2),,
+DefineEngineMethod( GuiMenuBar, clearMenus, void, (),,
    "@brief Clears all the menus from the menu bar.\n\n"
    "@tsexample\n"
    "// Inform the GuiMenuBar control to clear all menus from itself.\n"