Search found 187 matches

by Vexator
Fri Apr 21, 2006 6:44 pm
Forum: C++ Development
Topic: Memory Leak in wxWidgets?
Replies: 32
Views: 5187

(the code above should fix the problem) which one? this one: void wxGLContext::SwapBuffers() { if (m_glContext) { if (wglGetCurrentContext() != m_glContext) wglMakeCurrent((HDC) m_hDC, m_glContext); //wglMakeCurrent((HDC) m_hDC, m_glContext); ::SwapBuffers((HDC) m_hDC); //blits the backbuffer into ...
by Vexator
Wed Apr 19, 2006 6:14 pm
Forum: C++ Development
Topic: setting up my app to use wxLocale
Replies: 5
Views: 986

yep, i got that :)
but so far, i only have my app with all my strings enclosed in the _() macro. and.. now? how do i get these strings into poedit etc?
by Vexator
Tue Apr 18, 2006 9:32 pm
Forum: C++ Development
Topic: setting up my app to use wxLocale
Replies: 5
Views: 986

thanks!
It allows you to scan sources for strings enclosed by _(), meaning they should be translated.
and how to do this?
by Vexator
Tue Apr 18, 2006 6:04 pm
Forum: C++ Development
Topic: setting up my app to use wxLocale
Replies: 5
Views: 986

setting up my app to use wxLocale

is there some step by step tutorial on how to set up to use wxLocale and all this stuff? i read the article in the docs, i read the internat sample source and i downloaded poedit.. but i don't know where to start.. how do i have to setup my app, which files do i have to create myself, which ones are...
by Vexator
Mon Apr 17, 2006 11:06 am
Forum: General Development
Topic: Showing bitmap on wxGLCanvas
Replies: 4
Views: 770

are you sure?
well i'd first of all check if what you want to render is in the view frustum first of all. disable lighting, enable wireframe mode etc.
by Vexator
Sun Apr 16, 2006 3:04 pm
Forum: Announcements and Discoveries
Topic: wxPdfDocument 0.7 released
Replies: 4
Views: 1077

very interesting. i'll probably use it for my docs :)
by Vexator
Sun Apr 16, 2006 3:03 pm
Forum: General Development
Topic: Showing bitmap on wxGLCanvas
Replies: 4
Views: 770

this is purely ogl related, so you better ask this in opengl.org's beginner's forum.
by Vexator
Fri Apr 14, 2006 4:12 pm
Forum: C++ Development
Topic: 32bit cursors
Replies: 7
Views: 1327

i found the problem.. the cursors have to be 32x32, at least on win32. mine was 16x16.. thanks! :D
by Vexator
Thu Apr 13, 2006 10:28 am
Forum: C++ Development
Topic: wx2.6.3: app exits on button click
Replies: 5
Views: 773

this is done by wxaui, not by myself. let me download the wxaui sample and look if it works with wx2.6.3..

EDIT: i'm a fool.. i just recompiled wxaui with wx2.6.3 and it all workd again -.- i totally forgot about that. sry for wasting your time.
by Vexator
Thu Apr 13, 2006 10:18 am
Forum: C++ Development
Topic: wx2.6.3: app exits on button click
Replies: 5
Views: 773

it seems to be a problem with wxaui which i am using for my gui. void Mainframe::OnToolbar( wxCommandEvent &event ) { switch( event.GetId() ) { case ID_WORLD: Manager.GetPane("World panel").Show(); break; case ID_LIGHTING: Manager.GetPane("Lighting panel").Show(); break; case ID_TRIGGERS: Manager.Ge...
by Vexator
Thu Apr 13, 2006 9:00 am
Forum: C++ Development
Topic: wx2.6.3: app exits on button click
Replies: 5
Views: 773

wx2.6.3: app exits on button click

my app worked fine with wx2.6.2. i've now upgraded to the latest build 2.6.3, it still compiles fine (i get these two warnings: " LINK : warning LNK4089: all references to 'ADVAPI32.dll' discarded by /OPT:REF " and " LINK : warning LNK4089: all references to 'OLEAUT32.dll' discarded by /OPT:REF " th...
by Vexator
Sat Apr 08, 2006 10:42 pm
Forum: C++ Development
Topic: 32bit cursors
Replies: 7
Views: 1327

Maybe it has something to do with the way you load the wxImage from the file? (making sure the alpha channel is used?)
it's the same code and file i use for my toolbar icons, and there it works..
by Vexator
Sat Apr 08, 2006 4:01 pm
Forum: Component Writing
Topic: FindWindow
Replies: 20
Views: 4588

try to call FindWindowById(idbutton)->Refresh(false) after you code.
by Vexator
Sat Apr 08, 2006 3:55 pm
Forum: C++ Development
Topic: 32bit cursors
Replies: 7
Views: 1327

yes, i got a 32bit png file working as a cursor :) but the alpha mask is not being used, so the cursor is just displayed as a square.