Search found 38 matches
- Sun Jul 11, 2010 5:42 pm
- Forum: Platform Related Issues
- Topic: wxMSW no opengl
- Replies: 2
- Views: 573
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...
- Mon Jul 05, 2010 2:31 pm
- Forum: Platform Related Issues
- Topic: Redistributing linux apps
- Replies: 2
- Views: 1077
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...
- Sun Jul 04, 2010 10:35 pm
- Forum: Platform Related Issues
- Topic: wxMSW no opengl
- Replies: 2
- Views: 573
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...
- Wed Sep 02, 2009 2:49 pm
- Forum: General Development
- Topic: wxPython import deprecation
- Replies: 1
- Views: 940
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...
- Mon Oct 06, 2008 4:17 am
- Forum: C++ Development
- Topic: custom events question
- Replies: 4
- Views: 973
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...
- Sun Oct 05, 2008 9:16 am
- Forum: C++ Development
- Topic: custom events question
- Replies: 4
- Views: 973
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...
- Sun Sep 07, 2008 9:59 am
- Forum: C++ Development
- Topic: Deriving and paint events
- Replies: 3
- Views: 492
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,...
- Sun Sep 07, 2008 8:05 am
- Forum: C++ Development
- Topic: Deriving and paint events
- Replies: 3
- Views: 492
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...
- Sun Aug 24, 2008 2:10 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling under windows
- Replies: 5
- Views: 1622
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...
- Sat Aug 23, 2008 5:09 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling under windows
- Replies: 5
- Views: 1622
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 ...
- Sun Aug 17, 2008 2:58 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling under windows
- Replies: 5
- Views: 1622
- Sat Aug 16, 2008 7:48 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling under windows
- Replies: 5
- Views: 1622
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...
- Sat Jul 26, 2008 8:22 am
- Forum: C++ Development
- Topic: Image convert 2 bitmap ,but with black background.
- Replies: 1
- Views: 505
- Sat Jul 26, 2008 7:26 am
- Forum: C++ Development
- Topic: custom events question
- Replies: 4
- Views: 973
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...
- Sat Mar 01, 2008 2:05 pm
- Forum: C++ Development
- Topic: Avoiding inf. recursion -- the right way
- Replies: 1
- Views: 558
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 ...