Re: [Fxruby-users] gdb and FXRuby
Status: Inactive
Brought to you by:
lyle
From: Joel V. <vj...@PA...> - 2003-08-11 00:26:44
|
Lyle Johnson wrote: > Joel VanderWerf wrote: > >> >> I'm trying to debug a fxerror message that my ruby program generates. >> The message is "FXDCWindow::drawIcon: illegal icon specified." The >> icon works fine in other contexts, so I'm suspecting FXRuby. > > > Are you sure that you've called create() on the icon before using it? Ah. That seems to be it. Apologies to FXRuby. In my other code, I was specifying the icon before calling the main window's #create, so the icons were created recursively. I'll learn eventually... There's no cost in calling create twice on an icon or other widget is there? Thanks! |