Anyone here who uses wxWidgets? I am a newbie in wxWidgets. I have trouble in inserting an image in my application..

I am using this one:

wxImage *img;
img=new wxImage("pic.jpeg",wxBITMAP_TYPR_ANY,-1);


this code is erotic.
What would you suggest? Thanx..

>this code is erotic.
Heheh.

> this code is erotic.

Ahem...I guess you meant 'erroneous'. Erotic is ah.. something else. :-)

Oh and btw, asking the same question in the concerned forum would fetch you better and fast help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.