Splitter windows and Using OpenGL as scrolled windows

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
xinvar
Earned a small fee
Earned a small fee
Posts: 23
Joined: Thu Jun 01, 2006 8:01 pm

Splitter windows and Using OpenGL as scrolled windows

Post by xinvar »

Hi,

I would need to implement a window that supports both OpenGL and scrolled window. My understanding is that to support OpenGL I need to make my class, say MyWindow, a subclass of wxGLCanvas; but to make it a scrolled window, MyWindow needs to be a subclass of wxScrolledWindow. Thanks in advance!

Here's another question. I need to split the main window into 6 (3x2) subwindows. Is there a smarter way than using splitterWindow 5 times (one vertical split and 4 horizontal splits)?
Vexator
I live to help wx-kind
I live to help wx-kind
Posts: 187
Joined: Sun Jan 30, 2005 2:50 pm
Location: Heidelberg, Germany

Post by Vexator »

srolling a 3d viewport? why not use the mouse to navigate through the 3d view?
Windows 7 Pro
Visual Studio 2010
wxWidgets 2.9.3
xinvar
Earned a small fee
Earned a small fee
Posts: 23
Joined: Thu Jun 01, 2006 8:01 pm

Post by xinvar »

It's not for 3D views, but for 2D views. Sure I can zoom in but it'll be better to have the scroll bar.
Post Reply