Search found 4 matches
- Fri Aug 16, 2019 6:37 pm
- Forum: Platform Related Issues
- Topic: [wxGTK][wx3.1.2] Can't make GL context current in frame constructor
- Replies: 1
- Views: 994
[wxGTK][wx3.1.2] Can't make GL context current in frame constructor
Hello! I'm working on a wxWidgets-based project that depends on the GL library for the GUI, and the Magnum graphics library for the actual GL work. I've been working a lot on Windows recently, where I could set the wxGLContext as current despite the frame containing my wxGLCanvas not being shown. Bu...
- Fri Jun 21, 2019 7:51 am
- Forum: C++ Development
- Topic: [wxwidgets3.1.2, opengl] A hen and egg problem
- Replies: 14
- Views: 2307
Re: [wxwidgets3.1.2, opengl] A hen and egg problem
I once contributed a wxWidgets-based bootstrap project to Magnum (a graphics middleware with an OpenGL wrapping layer), which you can find on GitHub, in the "base-wxwidgets" branch of the "mosra/magnum-bootstrap" repo. It has a wx3.1 code path, which you could take a look at. I d...
- Sun Oct 19, 2014 4:03 pm
- Forum: C++ Development
- Topic: Seg fault when calling wxExecute
- Replies: 2
- Views: 987
Re: Seg fault when calling wxExecute
wxString *LaunchCommand = new wxString[ListLineCount/2]; You're shadowing the member variable "LaunchCommand" with a local variable of the same name. The member variable will remain uninitialized. I think this is the case. wxArrayString seems to be the way to go. Thank you. EDIT: wxArrayS...
- Sun Oct 19, 2014 12:12 pm
- Forum: C++ Development
- Topic: Seg fault when calling wxExecute
- Replies: 2
- Views: 987
Seg fault when calling wxExecute
Hello. I'm rather new to wxWidgets programming and I want to understand a segfault problem in my application. I'm making a launcher for PCSX2 using Code::Blocks (nightly build from 16/09/2014) with wxSmith, MinGW 4.8.1 and wxWidgets 3.0.1 (Debug/Release SHARED=0 MONOLITHIC=1 UNICODE=1) under Windows...