Re: [lush-devel] ogre bug
Ralf Juengling <[email protected]> Thu, 14 Jun 2007 18:09:25 -0700 (PDT)
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 30 Nov 2006, Yann LeCun wrote: > > (new window) sets the the value of the symbol "window" to the window > just created. In fact, new-window does nothing more than: > (setq window (x11-window)) > > Unfortunately, doing this within the scope of an ogre object > (your stdbutton) has the effect of overwriting the value of > the slot "window" of the object. Boom! > > The workaround is to simply do: (setq my-window (x11-window)) > instead of (new-window). Is there anything wrong with changing new-window so that it does (setq :window (x11-window)) instead? Ralf ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/