Search found 38 matches

by AUser
Sun Jul 11, 2010 5:42 pm
Forum: Platform Related Issues
Topic: wxMSW no opengl
Replies: 2
Views: 594

Results

To anyone who is searching Do not build wxwidgets applications with cygwin! You will need to have the X11 server running in order for your opengl stuff to work, otherwise it will silently fail. You can build with msys however, this works, but is very painful as msys no longer has an automated instal...
by AUser
Mon Jul 05, 2010 2:31 pm
Forum: Platform Related Issues
Topic: Redistributing linux apps
Replies: 2
Views: 1097

Really? Which distribution doesn't have opengl support? I am using my wx (open source) code, and I can create and distribute binaries just fine. Fedora uses the wxGTK-gl subpackage , which has the needed binaries. Debian has libwxgtk, which has dependencies on libgl & libglu http://packages.debian.o...
by AUser
Sun Jul 04, 2010 10:35 pm
Forum: Platform Related Issues
Topic: wxMSW no opengl
Replies: 2
Views: 594

wxMSW no opengl

Hello, I am running a fresh install of wxMSW. I have compiled the cube application, however when i launch it, all I see is a black screen where the openGL window should be. This is under windows 7. I compiled wxWidgets using cygwin, with ./configure --with-opengl --disable-socket ; make; make instal...
by AUser
Wed Sep 02, 2009 2:49 pm
Forum: General Development
Topic: wxPython import deprecation
Replies: 1
Views: 965

wxPython import deprecation

Hi, I am currently trying to make a small wxPython application from sourceforge work (openraytrace, not updated for many a year). I'm not super-familiar with python, but I have used it in the past. I have used wx under c++, which seems to work well. Anyway, I noted from the python documentation : fr...
by AUser
Mon Oct 06, 2008 4:17 am
Forum: C++ Development
Topic: custom events question
Replies: 4
Views: 989

Perhaps I don't understand the problem, but why not pass a pointer to the frame as a parameter to subclassed panel? Then you can get the frame to do anything you like, whenever you fancy. Because If i do that, then the subclassed panel needs to be aware of every instance type of a parent that needs...
by AUser
Sun Oct 05, 2008 9:16 am
Forum: C++ Development
Topic: custom events question
Replies: 4
Views: 989

Sorry 'bout the late reply, but better late than never, no? Thanks for that -- I didn't check this when you replied until after I ended up using the deriving the class method -- but I had this problem again, so I have used this solution the second time round -- thanks! The reason I was doing this is...
by AUser
Sun Sep 07, 2008 9:59 am
Forum: C++ Development
Topic: Deriving and paint events
Replies: 3
Views: 513

When I create a derived wxPanel object, I cannot catch its events properly. This is to say that the OnPaint event in the sample I gave does not occur. None of the events that I attempt to re-implement in the derived class are ever executed :( -- It should say "OnPaint!" lots of times at the console,...
by AUser
Sun Sep 07, 2008 8:05 am
Forum: C++ Development
Topic: Deriving and paint events
Replies: 3
Views: 513

Deriving and paint events

Hi, me again. I have read through the event documentation (again), but still am at a loss to explain why some of my code does not work. I have created a small sample, which is given below. The aim is to create a derived object from wxPanel which draws upon itself as needed. This is to replace my hor...
by AUser
Sun Aug 24, 2008 2:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling under windows
Replies: 5
Views: 1668

Update for internet searchers. I appear to have narrowed down, but not solved, the problem. By adding the following linker flag, I can prevent the sample apps from compiling. -I/cygdrive/c/cygwin/usr/include/ The reason being that I have caused the following (below) to occur (diff shown), output fro...
by AUser
Sat Aug 23, 2008 5:09 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling under windows
Replies: 5
Views: 1668

On my fedora system it is a binary package, i install it (wxWidgets-devel) with yum. On my mac I use fink, or I can just use the older wx that comes with the mac -- or I can compile the latest with ./configure && make && make install. All of these work. When I actually get to the stage of compiling ...
by AUser
Sun Aug 17, 2008 2:58 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling under windows
Replies: 5
Views: 1668

I have msys a whirl, but still I have the same problem. The interesting thing is that I have no problem compiling the sample application, or compiling my program on other (non-MS) systems.
by AUser
Sat Aug 16, 2008 7:48 am
Forum: Compiler / Linking / IDE Related
Topic: Compiling under windows
Replies: 5
Views: 1668

Compiling under windows

Edit: I am compiling under Windows XP Professional SP2 Hello, I have written a small app, that uses several libraries, one of which is wx. I wrote this under Fedora linux & mac OSX, where it works well. When I wanted to compile it under windows, I have run into a few more problems. I have succesfull...
by AUser
Sat Jul 26, 2008 8:22 am
Forum: C++ Development
Topic: Image convert 2 bitmap ,but with black background.
Replies: 1
Views: 527

I am not an expert with wx, however if you want to use transparency I would recommend using the PNG format instead of BMP.
by AUser
Sat Jul 26, 2008 7:26 am
Forum: C++ Development
Topic: custom events question
Replies: 4
Views: 989

custom events question

Hello, I am trying to create an event handler for a child window created inside a window derived from a wxFrame class myWindow : protected wxFrame{ ... . virtual void OnChartLeftUp(wxMouseEvent &event); . virtual void OnChartLeftDown(wxMouseEvent &event); ... }; So I create a window frame like so, a...
by AUser
Sat Mar 01, 2008 2:05 pm
Forum: C++ Development
Topic: Avoiding inf. recursion -- the right way
Replies: 1
Views: 564

Avoiding inf. recursion -- the right way

Hello, I am programming on a slightly older version of wx, as shipped with the MacOSX 10.4.6, and I stumbled across a problem where I was getting infinite recursion due to events handling. Here is the situation; I have a wxGrid object "propertyGrid", the user is allowed to edit cells, and I perform ...