Search found 6681 matches

by Auria
Sat Jan 20, 2007 3:23 pm
Forum: C++ Development
Topic: crashing due to memory leaks
Replies: 10
Views: 1286

does strVar3's occupied memory get freed by exiting the method? No, it's not freed. No variable created on the heap (i.e. with "new") is freed automatically. You would need to "delete strVar3" before leaving method, otherwise memory leaks. But even then this is not an elegant solution. For a local ...
by Auria
Wed Jan 17, 2007 7:36 pm
Forum: Platform Related Issues
Topic: wxImage loads all ok, but won't display
Replies: 3
Views: 708

Re: wxImage loads all ok, but won't display

FlyingIsFun1217 wrote:
Auria wrote:The code runs perfectly on OS X, so i'll assume that it is correct.
Just a tip; never do

FlyingIsFun1217 ;)
Alright i'll remember :P Though i based myself on the sample to write the code and i think everything i is okay with what i see in the docs so i'm just confused... ah those GUI toolkits
by Auria
Wed Jan 17, 2007 7:14 pm
Forum: Platform Related Issues
Topic: wxImage loads all ok, but won't display
Replies: 3
Views: 708

wxImage loads all ok, but won't display

Hi everyone I wrote a wxWidgets 2.8.0 app under OS X, and now i'm trying to get it to run in Linux (wxGTK 2.8.0). The code runs perfectly on OS X, so i'll assume that it is correct. I am loading images with wxImage. (Yes, i did add Image Handlers ;) ) to place them in wxBitmapButtons and other stuff...
by Auria
Wed Jan 17, 2007 12:29 am
Forum: Compiler / Linking / IDE Related
Topic: Problems Compiling on Mac iBook G4 (Mac OS X 10.4.8)
Replies: 4
Views: 912

No idea if this is related in any way, but GCC 4.0.0 is known for having many bugs and many apps and libs won't compile under it - you should try updating to a later version perhaps.
by Auria
Wed Jan 17, 2007 12:09 am
Forum: Compiler / Linking / IDE Related
Topic: gl or opengl?
Replies: 0
Views: 309

gl or opengl?

Hello everyone just to mention a little problem... on my mac: wx-config --libs opengl outputs the following: /usr/local/lib/libwx_mac_opengl-2.8.a and i get linking errors that it doesn't exist. So i open /usr/local/lib, and what do i find? /usr/local/lib/libwx_mac_gl-2.8.a seems like wx-config outp...
by Auria
Thu Sep 28, 2006 12:39 am
Forum: C++ Development
Topic: RMB works, LMB doesn't
Replies: 0
Views: 248

RMB works, LMB doesn't

Hi, i'm developping a wxwidgets app with OpenGL. My problem now is to detect user clicks on the wxGLCanvas. Mouse wheel, right mouse button, and all those events work, except for left mouse button events (the callback method is never called) i don't seem to be catching left mouse events anywhere in ...