Search found 70 matches

by nkwinder
Tue Dec 30, 2008 3:17 am
Forum: Compiler / Linking / IDE Related
Topic: wxUSE_GLCANVAS rebuild
Replies: 1
Views: 641

wxUSE_GLCANVAS rebuild

hello all i have to set wxUSE_GLCANVAS to 1 so i can use openGL with wxWidgets. There are many setup.h files, i changed the one located at wxWidgets-2.8.9\include\wx\msw is this correct? after the change, do i have to recompile all wxWidgets or a specific library? I use code::blocks so i guess i hav...
by nkwinder
Sun Dec 28, 2008 1:56 am
Forum: C++ Development
Topic: sigtrap
Replies: 5
Views: 857

just to be more precise

Debugger name and version: GNU gdb 6.7.50.20071127
Child process PID: 6036
Program received signal SIGTRAP, Trace/breakpoint trap.
In ntdll!DbgUiConvertStateChangeStructure () (C:\Windows\system32\ntdll.dll)
Debugger finished with status 0
by nkwinder
Sat Dec 27, 2008 2:17 am
Forum: C++ Development
Topic: sigtrap
Replies: 5
Views: 857

sorry i forgot to mention

i use code::blocks with 2.8.9 wxwidgets on windows vista.
by nkwinder
Sat Dec 27, 2008 1:27 am
Forum: C++ Development
Topic: sigtrap
Replies: 5
Views: 857

sigtrap

hello all i have this strange problem i have recently implemented an image zoom functionality in my program, but from then on, i sometimes get a sigtrap, when i close the application. When i hit x, program freezes. Is there any way to trace this with the debugger (debugger only says sigtrap in some ...
by nkwinder
Mon Dec 22, 2008 10:42 pm
Forum: C++ Development
Topic: GetParent() issue
Replies: 2
Views: 1118

thanks!! that really helped!
by nkwinder
Mon Dec 22, 2008 9:03 pm
Forum: C++ Development
Topic: GetParent() issue
Replies: 2
Views: 1118

GetParent() issue

hello all i have a simple question, that i can't figure out. i have two classes. MyFrame and MyCanvas. MyFrame creates the MyCanvas object. MyFrame::MyFrame(const wxString& title, const wxSize& size, const wxPoint& pos) : wxFrame(NULL, wxID_ANY, title, pos, size) { SetMinSize(wxSize(420,300)); m_can...
by nkwinder
Fri Dec 05, 2008 3:10 pm
Forum: C++ Development
Topic: Drawing a centered aligned image
Replies: 3
Views: 690

wow this really reduced the flickering a lot! Although there is some noticeable flicker when maximizing.

I already use wxBufferedPaintDC.

thanks a lot for your help.

Any other suggestions would be appreciated.
by nkwinder
Fri Dec 05, 2008 2:36 pm
Forum: C++ Development
Topic: Drawing a centered aligned image
Replies: 3
Views: 690

Drawing a centered aligned image

hello all i managed to setup a code that displays a dynamically created image. Now the thing is that i want it to always be centered. I tried the style wxFULL_REPAINT_ON_RESIZE, with the correct result but with much flicker. So, whats the best approach to this trivial (i suppose) problem? thanks in ...
by nkwinder
Sun Nov 30, 2008 6:57 pm
Forum: wxDev-C++
Topic: 7.0RC3 Bugs
Replies: 4
Views: 844

ok ok... there was a bug :lol: :lol: in my post causing the message not to show up! :)

everything is fine now... :oops: :oops:
by nkwinder
Sun Nov 30, 2008 12:31 am
Forum: wxDev-C++
Topic: 7.0RC3 Bugs
Replies: 4
Views: 844

7.0RC3 Bugs

hello all i just noticed a bug with the undo button in 6.10. I found this related thread... http://forums.wxwidgets.org/viewtopic.php?t=13592 if i select a number of lines with click and drag, and then delete, and then undo.... the deleted text is gone and replaced by spaces. i just installed versio...