Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxWindows and OpenGL problems

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxWindows and OpenGL problems
#4585
Posted by: 2004-06-23 08:17:12
I'm a newbie to wxWindows. I'm trying to make a program, in which you click on a button in a GUI window and it the creates a new window and draws some OpenGL graphics in it. The button function(buttonFunc(), for example) calls WinMain, which creates a new window class and begins rendering. Since I cannot use second WinMain(), I called it WinMain2(). It works but after I close the OpenGL window, the GUI window buttons do not respond to clicks anymore. Does that have something to do with event handling? How can I "return" back to the GUI window?
Thanx in advance.
Message2. Re: wxWindows and OpenGL problems
#4593
Posted by: 2004-06-23 23:22:17
OK, I solved the problem - I did not kill OpenGL window properly and didn't reset some global variables.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0