Show GLCanvas inside wxFrame Topic is solved

Are you writing your own components and need help with how to set them up or have questions about the components you are deriving from ? Ask them here.
Post Reply
artdias90
In need of some credit
In need of some credit
Posts: 6
Joined: Sat Feb 05, 2011 4:13 am

Show GLCanvas inside wxFrame

Post by artdias90 »

I created a Wx Frame, put some buttons and a WXGLCanvas. Now i want to put some image inside the canvas. How should i do?

void tentativa2Frame::OnGLCanvas1Paint(wxPaintEvent& event)
{

}
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

Hi,

your question is very vague. Please see http://wiki.wxwidgets.org/WxGLCanvas

Also be aware that putting widgets on top of the GL canvas may not work, since GL canvases are usually treated differently by the compositors
"Keyboard not detected. Press F1 to continue"
-- Windows
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Post by evstevemd »

you might want to take a look at http://wiki.wxwidgets.org/An_image_panel
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Post Reply