Kenneth Forsbäck wrote:
> Hi,
> 
> indeed,
> 
> wx.wxMessageBox(tostring(aboutBackground:Ok()), "results", wx.wxOK +
> wx.wxICON_INFORMATION, instanceAbout)
> 
> results in false. I tried using an absolute path, but that didn't work
> either. There's also nothing wrong with the current directory in lua,
> i.e. the root dir, so the image path is then:
> "interface/about/aboutBackground.png"
> 
> ~ Kenneth

You might want to try this:

local aboutBackground = 
wx.wxBitmapFromFile("interface/about/aboutBackground.bmp", 
wx.wxBITMAP_TYPE_BMP)



-------------------------------------------------------------------------
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/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to