Search found 38 matches

by AUser
Tue Nov 20, 2012 9:44 pm
Forum: C++ Development
Topic: wxTreeCtrl Drag/Drop with Ctrl key
Replies: 3
Views: 2006

Re: wxTreeCtrl Drag/Drop with Ctrl key

In my code, I use wxMouseState to get the mouse state (mstate), during a tree end drag event, then use mstate.CmdDown(). Its possible I had this issue once upon a time, but I cannot recall - it seems odd for me to have reached out for mousestate when everywhere else I use the event. Anyway the above...
by AUser
Sun Nov 18, 2012 9:51 pm
Forum: C++ Development
Topic: GridCellEditor: event handler assertion on exit
Replies: 1
Views: 1492

GridCellEditor: event handler assertion on exit

Hello, Im trying to track down an assertion error that occurs in wx2.9, under (at least) gtk and OSX. Apparently, I have not correctly destroyed my object, and I get the message: ./src/common/wincmn.cpp(468): assert "GetEventHandler() == this" failed in ~wxWindowBase() : any pushed event h...
by AUser
Sun Jan 16, 2011 10:04 pm
Forum: C++ Development
Topic: Fullscreen mode switching
Replies: 2
Views: 1709

Hello again, Just going to reply to myself here, a little. My testing indicates the original method: wxMac: works wxMSW: Doesn't work wxGTK: Works on some versions So, thats not good. Let's try plan B: I can call statusbar->Hide(), and it does the right thing. However, under GTK, calling TopMenubar-...
by AUser
Sun Jan 09, 2011 6:23 pm
Forum: C++ Development
Topic: Fullscreen mode switching
Replies: 2
Views: 1709

Fullscreen mode switching

Hello, I am having some trouble implementing a tri-state fullscreen mode in GTK. The idea is to cycle between not-fullscreen, fullscreen with menu & statusbar, and fullscreen without menu and statusbar. So I have code like this: void MainWindowFrame::OnViewFullscreen(wxCommandEvent &event) {...
by AUser
Mon Nov 22, 2010 11:23 pm
Forum: Platform Related Issues
Topic: SetSelection(wxNOT_FOUND) not working under windows?
Replies: 5
Views: 2385

Great, your workaround does indeed work around the problem. Have you reported this, or should i?

Thanks. This was really frustating!
by AUser
Mon Nov 22, 2010 10:57 pm
Forum: Platform Related Issues
Topic: SetSelection(wxNOT_FOUND) not working under windows?
Replies: 5
Views: 2385

Nope.. my bad... That doesnt fix it
by AUser
Mon Nov 22, 2010 10:49 pm
Forum: Platform Related Issues
Topic: SetSelection(wxNOT_FOUND) not working under windows?
Replies: 5
Views: 2385

I had a thought... Its a 32 bit binary on a 64 bit system. I looked through the wx code, and it is using SendMessage(...) for CB_SETCURSEL : does this need to be a 64 bit -1, or a 32 bit -1?

http://msdn.microsoft.com/en-us/library ... S.85).aspx
by AUser
Mon Nov 22, 2010 10:43 pm
Forum: Platform Related Issues
Topic: Linux: error while loading shared libraries
Replies: 4
Views: 15902

you could use strace to see exactly what is going on.. Its possible that (1) the internal soname does not match, even though the filename does (this would be a pretty hefty bug...) (2) the gtk lib is trying to open other libs, but cannot find some dependency.
by AUser
Mon Nov 22, 2010 10:27 pm
Forum: Platform Related Issues
Topic: SetSelection(wxNOT_FOUND) not working under windows?
Replies: 5
Views: 2385

SetSelection(wxNOT_FOUND) not working under windows?

Hi, I have recently found that I cannot get wxListBox-es to clear their selection. I have attached an example program demonstrating this problem (bug?). The code is being compiled by wx2.8.11 using tdm-gcc32, windows 7 $ wx-config --cflags -I/usr/local/lib/wx/include/msw-unicode-release-2.8 -I/usr/l...
by AUser
Mon Oct 04, 2010 8:45 pm
Forum: C++ Development
Topic: Notification in wxNotebook control
Replies: 1
Views: 640

Notification in wxNotebook control

Hello, I use a wxNotebook control to present several data types to the user (grid, text field, image). The text field however is only rarely updated (usually if there is some non-critical error). I would like to "pulse" the tab, such as by altering the colour briefly, to notify the user th...
by AUser
Wed Sep 08, 2010 6:21 pm
Forum: C++ Development
Topic: wxFreeChart vs wxMathPlot
Replies: 6
Views: 3834

I quite recommend mathgl (mathgl.sourceforge.net). Its pretty good, but you will need to build your own interaction widget.
by AUser
Fri Sep 03, 2010 5:19 pm
Forum: C++ Development
Topic: General advice on cross platform video encoding
Replies: 1
Views: 674

General advice on cross platform video encoding

Hello, I have a 3D application which has various cameras and whatnot, and I would like to animate them. Rendering the frames is easy enough, I have a 3D image saving function that works neatly. However, I am looking for a way to encode video, and whilst I know little about the ins and outs of the va...
by AUser
Fri Sep 03, 2010 4:21 pm
Forum: Platform Related Issues
Topic: wxWidgets install in Linux
Replies: 2
Views: 1828

It sounds like you are trying to build wxWidgets from the source code. Unless you are sure this is what you should be doing, use your package manager instead, building from source can be complicated. The required development files (headers) are, as the previous poster said, contained in RPMs using t...
by AUser
Fri Aug 27, 2010 4:38 pm
Forum: Platform Related Issues
Topic: Cygwin 1.7.1 fails to compile wxWidgets 2.8.10 and 2.9.0
Replies: 4
Views: 2985

You can --disable-sockets , if your application does not use sockets. Otherwise, this is bug 11626 : http://trac.wxwidgets.org/ticket/11626

this is reported fixed in SVN
by AUser
Sat Jul 17, 2010 8:41 pm
Forum: Platform Related Issues
Topic: wxMSW questions (statusbar backgr., stderr/out, appearance)
Replies: 1
Views: 894

wxMSW questions (statusbar backgr., stderr/out, appearance)

Hello again, I have my opengl app running under MSW now, but I have a few general MSW questions: * Is it possible to enable stderr/stdout? I use libraries that output debugging information to these -- without this it is tricky to debug, even with GDB * Why does my application have an "old"...