[EMAIL PROTECTED] wrote: > > On 25 Nov, Rick Scott wrote: > > To me, it looks like DropSite::setDropWidget is defined with 4 arguments. > > However ToolSelector.C, EditorWorkSpace.C, and ControlPanelWorkSpace.C all > > seem > > to call it with only 2 arguments. PageTab.C seems to be the only one that > > calls > > it with 4. Is this legal in C++????
It is common in C++ to define multiple versions of a function with different numbers and types of arguments (function overloading). I'm having trouble locating the prototype for DropSite::setDropWidget, what file/directory is it in? Richard
