you can probably find a solution here : http://wiki.wxwidgets.org/Catching_key_events_globally
simplest is probably to assign a keyboard shortcut to a menu item, if you have a menu
Search found 6681 matches
- Sun Feb 24, 2013 12:00 am
- Forum: General Development
- Topic: Handling key down events between multiple objects
- Replies: 1
- Views: 4634
- Mon Feb 18, 2013 12:35 am
- Forum: C++ Development
- Topic: Displaying Pictures
- Replies: 3
- Views: 10788
Re: Displaying Pictures
The wiki example you pointed to just draws into a panel. You are free to place that panel wherever you want. // make sure to call this first wxInitAllImageHandlers(); wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL); frame = new wxFrame(NULL, wxID_ANY, wxT("Hello wxDC"), wxPoint(50,50), wx...
- Mon Feb 18, 2013 12:28 am
- Forum: Platform Related Issues
- Topic: wxToolbar without buttons on mac
- Replies: 1
- Views: 3753
Re: wxToolbar without buttons on mac
is it wxOSX/Carbon or wxOSX/Cocoa ? The latter does it just fine for me
- Thu Feb 07, 2013 4:33 am
- Forum: Compiler / Linking / IDE Related
- Topic: windows encountered a problem and needs to
- Replies: 2
- Views: 3670
Re: windows encountered a problem and needs to
Have you tried running the program in a debugger? codeblocks includes a debugger frontend. that's how you find the cause of crashes
- Thu Feb 07, 2013 4:31 am
- Forum: General Development
- Topic: wxRearrangeList Append Invalid
- Replies: 1
- Views: 4318
Re: wxRearrangeList Append Invalid
Hi,
bugs should better reported on trac.wxwidgets.org than on the forum, if possible with code examples showing the issue
bugs should better reported on trac.wxwidgets.org than on the forum, if possible with code examples showing the issue
- Fri Jan 25, 2013 3:57 am
- Forum: C++ Development
- Topic: Anyone using wxGLString?
- Replies: 6
- Views: 12951
Re: Anyone using wxGLString?
Oh sorry I misread the problem. I thought the issue was that the text was not visible. Why the shapes are not visible is because you enabled texture mode. Change render this way, you need to deactivate textures when drawing primitives. Note that this is more an OpenGL question than a wxWidgets quest...
- Fri Jan 25, 2013 1:31 am
- Forum: C++ Development
- Topic: Anyone using wxGLString?
- Replies: 6
- Views: 12951
Re: Anyone using wxGLString?
On which OS are you? your sample works fine for me on ubuntu
- Fri Jan 25, 2013 1:23 am
- Forum: C++ Development
- Topic: wxHtmlWindow - Printing?
- Replies: 11
- Views: 8145
Re: wxHtmlWindow - Printing?
doublemax is right, with the exception that the newer wxWebView will be able to print widgets (since it uses WebKit/Trident, but of which support printing everything)
- Fri Jan 25, 2013 1:20 am
- Forum: Compiler / Linking / IDE Related
- Topic: Finding what values a library used
- Replies: 1
- Views: 4223
Re: Finding what values a library used
Making a binary that works on several distributions will be difficult, if possible at all. Your best bet is probably to use an older linux in a virtual machine, then compile wxWidgets statically in there, and build your application against this static wx. Wx being static, this will include wx in you...
- Fri Jan 25, 2013 1:17 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compile under MAC OX X 10.8.2
- Replies: 2
- Views: 4704
Re: Compile under MAC OX X 10.8.2
Please show the exact steps you are using to build; it appears for some reason you are trying to build the Windows version of wx on your mac
- Fri Jan 25, 2013 1:16 am
- Forum: Platform Related Issues
- Topic: Need to understand few lines of code in widgets 2.9
- Replies: 2
- Views: 4140
Re: Need to understand few lines of code in widgets 2.9
Please note that you are looking at the carbon port of wx, which is going to be discontinued since apple themselves are phasing out carbon. So I wouldn't spend too much time analysing that part of the code; wxOSX/Cocoa is the future
- Wed Jan 23, 2013 11:29 pm
- Forum: C++ Development
- Topic: Anyone using wxGLString?
- Replies: 6
- Views: 12951
Re: Anyone using wxGLString?
I am successfully using wxGLString (I am the author ;) ) I would need to some more code, not just the render function. If possible a full compilable sample But I do notice you are mixing the render of primitive (lines) and text (textures). Make sure textures are enabled (glEnable(GL_TEXTURE_2D);) af...
- Sun Jan 06, 2013 3:48 pm
- Forum: General Development
- Topic: wxHTMLHelpController
- Replies: 5
- Views: 6033
Re: wxHTMLHelpController
Hmm, wxLaunchDefaultBrowser should work and does work for me. I'm afraid you might need to go dig deeper in the code to figure what's going on
- Sun Jan 06, 2013 3:46 pm
- Forum: General Development
- Topic: drawing shapes
- Replies: 3
- Views: 5510
Re: drawing shapes
wxAtrt2D and wxShapeView may also help ( http://wiki.wxwidgets.org/WxFAQ#How_can_I_create_diagrams_with_connected_nodes.3F ) though I am not sure if they can be used from wxPython. I suggest you go through the wxPython demo, I seem to remember that it contained some pre-made components from which yo...
- Sun Jan 06, 2013 3:43 pm
- Forum: C++ Development
- Topic: wxBoxSizer question
- Replies: 9
- Views: 6391
Re: wxBoxSizer question
I'm not sure from your code which panel contains the wxGrid. But when adding the grid to the sizer (or the grid's parent), set proportion to 1 and add flag wxEXPAND (see the documentation of Add to known which parameter is which)