Re: [wxlua-users] wxLogWindow

2009-08-24 Thread John Labenski
On Sun, Aug 23, 2009 at 9:57 PM, Daniel Aquino wrote: > If I do: > > wx.wxLog.SetVerbose(true) > wx.wxLogVerbose("blah") > > I still get a pop up window :[ > > I only want the log window to be for informational purposes... I thought you wanted a popup window for your messages? I never look at the

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread Daniel Aquino
hm ok I'll look into that... but I was referring to , "web browser alert style boxes" vs "a log window". If the log window is closed it should not produce, "web browser alert style boxes" On Mon, Aug 24, 2009 at 11:01 AM, John Labenski wrote: > On Sun, Aug 23, 2009 at 9:57 PM, Daniel Aquino > w

Re: [wxlua-users] wxGLCanvas not drawing on OSX

2009-08-24 Thread John Labenski
On Sat, Aug 22, 2009 at 11:22 AM, Tyson Roberts wrote: > > I'm using wxLua on OSX10.5 and attempting to get a "Hello world" type > program working on wxGLCanvas(). > > Basic problem: >     - Have my own custom wxWindows program, running as an OSX app.  Using a > wxLua interpreter. >     - Used the

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread John Labenski
On Mon, Aug 24, 2009 at 11:12 AM, Daniel Aquino wrote: > hm ok I'll look into that... > > but I was referring to , "web browser alert style boxes" vs "a log > window".  If the log window is closed it should not produce, "web > browser alert style boxes" > You mean a wxMessageDialog? A dialog with

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread John Labenski
On Mon, Aug 24, 2009 at 11:26 AM, John Labenski wrote: > On Mon, Aug 24, 2009 at 11:12 AM, Daniel > Aquino wrote: >> hm ok I'll look into that... >> >> but I was referring to , "web browser alert style boxes" vs "a log >> window".  If the log window is closed it should not produce, "web >> browser

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread Daniel Aquino
Well the thing is if the wxLogWindow is closed then the default behavior will produce those alert dialogs... I really don't want that... I have a small function which I use for that purpose. On Mon, Aug 24, 2009 at 11:26 AM, John Labenski wrote: > On Mon, Aug 24, 2009 at 11:12 AM, Daniel > Aquin

Re: [wxlua-users] wxGLCanvas not drawing on OSX

2009-08-24 Thread Tyson Roberts
Hello, thanks for the feedback. I discovered something as part of going through the example, notably that I was forgetting to setup the viewport in GL before trying to display. I took the following lines from the cube demo and tried to use them: const wxSize ClientSize = GetClientSize(); glViewp

Re: [wxlua-users] wxGLCanvas not drawing on OSX

2009-08-24 Thread John Labenski
On Mon, Aug 24, 2009 at 11:57 AM, Tyson Roberts wrote: > Hello, thanks for the feedback.  I discovered something as part of going > through the example, notably that I was forgetting to setup the viewport in > GL before trying to display.  I took the following lines from the cube demo > and tried t

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread Andreas Krinke
Daniel Aquino wrote: > but I was referring to , "web browser alert style boxes" vs "a log > window". If the log window is closed it should not produce, "web > browser alert style boxes" Setting the last parameter of wx.wxLogWindow() to false seems to solve the problem: local log = wx.wxLogWindow

Re: [wxlua-users] wxLogWindow

2009-08-24 Thread Daniel Aquino
yea but that means you have to create the window. I guess at that point you could write a small wrapper function that would only call wxLogVerbose if the window has been opened... But I was going for the simple approach of having wxLogVerbose lines in my app which only took affect if the window w

Re: [wxlua-users] wxGLCanvas not drawing on OSX

2009-08-24 Thread Tyson Roberts
Hmmm... I've tried both explicitly sending the initial size in any of the following ways: 1) widget.gl = wx.wxGLCanvas(widgets.test, wx.wxID_ANY, wx.wxDefaultPosition, wx.wxSize(200, 200), wx.wxFULL_REPAINT_ON_RESIZE) 2) widget.gl = wx.wxGLCanvas(widgets.test, wx.wxID_ANY, wx.wxDefaultPosition, wx