Search found 128 matches

by Scorcher24
Wed Feb 15, 2012 9:15 pm
Forum: C++ Development
Topic: Registering a protocol with wxWebViewHandler
Replies: 8
Views: 2195

Re: Registering a protocol with wxWebViewHandler

I posted a bug: http://trac.wxwidgets.org/ticket/13907 I can't get it to work. I used svn as suggested, but I still get the same error over and over again. Visual C++ shows me a First Chance Exception when I click on the link containing my special protocol, but nothing happens. If anyone has any in...
by Scorcher24
Wed Feb 15, 2012 7:58 pm
Forum: C++ Development
Topic: Registering a protocol with wxWebViewHandler
Replies: 8
Views: 2195

Re: Registering a protocol with wxWebViewHandler

I posted a bug: http://trac.wxwidgets.org/ticket/13907 I can't get it to work. I used svn as suggested, but I still get the same error over and over again. Visual C++ shows me a First Chance Exception when I click on the link containing my special protocol, but nothing happens. If anyone has any ins...
by Scorcher24
Mon Jan 30, 2012 10:48 pm
Forum: C++ Development
Topic: Registering a protocol with wxWebViewHandler
Replies: 8
Views: 2195

Re: Registering a protocol with wxWebViewHandler

Of course, here ya go:
http://stackoverflow.com/questions/9068 ... iewhandler

If you can reproduce it and find out anything, please lemme know.
My whole project depends on that Control :| and I really don't want to switch to QT.
by Scorcher24
Mon Jan 30, 2012 10:15 pm
Forum: C++ Development
Topic: Registering a protocol with wxWebViewHandler
Replies: 8
Views: 2195

Re: Registering a protocol with wxWebViewHandler

Yes, I did. But I got a response on StackOverflow from the Author himself, looks like we found a bug.
by Scorcher24
Mon Jan 30, 2012 6:49 pm
Forum: C++ Development
Topic: Registering a protocol with wxWebViewHandler
Replies: 8
Views: 2195

Registering a protocol with wxWebViewHandler

I am currently trying to implement an app that makes excessive use of wxWebViewControl. I use static pages as well as dynamic pages that are stored/cached on the user's pc. For the application, I require 2 own schemes/protocols: static:// and profile:// The goal is to have them handle local content ...
by Scorcher24
Wed Aug 03, 2011 1:16 pm
Forum: C++ Development
Topic: Crash in release mode
Replies: 2
Views: 1083

Re: Crash in release mode

Tried what you suggested, without any success. There is not any special code before where it crashes.
No deleting pointers, no arrays (which are the usual suspects for bugs like this).
Out of curiosity, I recompiled wxWidgets, but this time not with STL Containers.
Crash gone.
by Scorcher24
Wed Aug 03, 2011 4:06 am
Forum: C++ Development
Topic: Crash in release mode
Replies: 2
Views: 1083

Crash in release mode

My program works fine in Debug Mode. Now it crashes in release mode. Tried recompiling, deleted all .o Files etc. I also disabled all optimizations etc. It still crashes inside the call to : // Load Toolbar if ( wxXmlResource::Get()->LoadToolBar(this, "rcToolBar") == NULL ) { wxMessageBox("ToolBar c...
by Scorcher24
Sat Jul 30, 2011 8:19 pm
Forum: C++ Development
Topic: OpenGL and 2.9.2
Replies: 7
Views: 1860

Re: OpenGL and 2.9.2

Wasn't able to solve it.. solved my main problem though with my own OpenGL control, but I can't get this one to work. I don't know why this happens :D.
Anyway, solved my main problem.
by Scorcher24
Mon Jul 25, 2011 12:42 pm
Forum: C++ Development
Topic: OpenGL and 2.9.2
Replies: 7
Views: 1860

Re: OpenGL and 2.9.2

It is in void Render(). I tried it with and without this call.
by Scorcher24
Mon Jul 25, 2011 10:50 am
Forum: C++ Development
Topic: OpenGL and 2.9.2
Replies: 7
Views: 1860

Re: OpenGL and 2.9.2

The samples work.
But not my code.
I made this self-made minimal sample, because I had problems with my own context. See my other Thread.
I really don't understand whats wrong.
by Scorcher24
Mon Jul 25, 2011 2:46 am
Forum: C++ Development
Topic: OpenGL and 2.9.2
Replies: 7
Views: 1860

OpenGL and 2.9.2

Was there any significant change? I don't get the context working. I have tried this minimal sample: #include <wx/wx.h> #include <wx/glcanvas.h> class wxMyCanvas : public wxGLCanvas { public: wxMyCanvas(wxWindow* parent, int* attribList) : wxGLCanvas(parent, -1, attribList, wxDefaultPosition, wxSize...
by Scorcher24
Fri Jul 22, 2011 12:59 pm
Forum: Platform Related Issues
Topic: [Win32] GetDC() for a wxPanel fails
Replies: 2
Views: 5078

Re: [Win32] GetDC() for a wxPanel fails

I have managed to create my own wxControl with the proper styles. Also, my context reports an OpenGL 3.3 Forward Compatible Context. But, the control remains grey: bool Canvas::Create( wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) { wxCHE...
by Scorcher24
Tue Jul 19, 2011 12:12 pm
Forum: Platform Related Issues
Topic: [Win32] GetDC() for a wxPanel fails
Replies: 2
Views: 5078

Re: [Win32] GetDC() for a wxPanel fails

Does anyone know how I can create my own Win32 Window with wxWidgets properly which has this style?
I really could need some help...
by Scorcher24
Tue Jul 12, 2011 1:01 pm
Forum: Platform Related Issues
Topic: [Win32] GetDC() for a wxPanel fails
Replies: 2
Views: 5078

[Win32] GetDC() for a wxPanel fails

Hi. I am using wxWidgets to create tools for a somewhat bigger library. That requires that I have a proper OpenGL Context in Version 3.3. So I have here my own function to create a Context: NLContextWin32::NLContextWin32(NLWindowHandle parent, NLOpenGLSettings settings) : NLIPlatformContext(parent, ...
by Scorcher24
Sat Jul 02, 2011 11:19 pm
Forum: Open Discussion
Topic: wxwidgets and opengl!
Replies: 2
Views: 3096

Re: wxwidgets and opengl!

I hang myself into this thread if you allow: OpenGL has undergone some drastic changes since some time. Does the current SVN Version contain a version selector for OpenGL? And maybe even for a core profile on 3 and 4? And how stable is that version? Would you recommend using it in a productive envir...