(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.

This commit is contained in:
rubidium
2008-05-18 20:40:30 +00:00
parent 23b9852480
commit a21d3fc63b
7 changed files with 10 additions and 13 deletions

View File

@@ -963,16 +963,13 @@ void Window::FindWindowPlacementAndResize(const WindowDesc *desc)
* @param y offset in pixels from the top of the screen
* @param width width in pixels of the window
* @param height height in pixels of the window
* @param *proc see WindowProc function to call when any messages/updates happen to the window
* @param cls see WindowClass class of the window, used for identification and grouping
* @param *widget see Widget pointer to the window layout and various elements
* @return Window pointer of the newly created window
*/
Window::Window(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const Widget *widget)
Window::Window(int x, int y, int width, int height, WindowClass cls, const Widget *widget)
{
this->Initialize(x, y, width, height, proc, cls, widget, 0);
if (proc != NULL) this->FindWindowPlacementAndResize(width, height);
this->Initialize(x, y, width, height, NULL, cls, widget, 0);
}