Search found 6681 matches

by Auria
Sun Feb 24, 2013 12:00 am
Forum: General Development
Topic: Handling key down events between multiple objects
Replies: 1
Views: 1812

Re: Handling key down events between multiple objects

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
by Auria
Mon Feb 18, 2013 12:35 am
Forum: C++ Development
Topic: Displaying Pictures
Replies: 3
Views: 3056

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...
by Auria
Mon Feb 18, 2013 12:28 am
Forum: Platform Related Issues
Topic: wxToolbar without buttons on mac
Replies: 1
Views: 930

Re: wxToolbar without buttons on mac

is it wxOSX/Carbon or wxOSX/Cocoa ? The latter does it just fine for me
by Auria
Thu Feb 07, 2013 4:33 am
Forum: Compiler / Linking / IDE Related
Topic: windows encountered a problem and needs to
Replies: 2
Views: 833

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
by Auria
Thu Feb 07, 2013 4:31 am
Forum: General Development
Topic: wxRearrangeList Append Invalid
Replies: 1
Views: 1369

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
by Auria
Fri Jan 25, 2013 3:57 am
Forum: C++ Development
Topic: Anyone using wxGLString? [SOLVED]
Replies: 6
Views: 1290

Re: Anyone using wxGLString? [SOLVED]

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...
by Auria
Fri Jan 25, 2013 1:31 am
Forum: C++ Development
Topic: Anyone using wxGLString? [SOLVED]
Replies: 6
Views: 1290

Re: Anyone using wxGLString? [SOLVED]

On which OS are you? your sample works fine for me on ubuntu
by Auria
Fri Jan 25, 2013 1:23 am
Forum: C++ Development
Topic: wxHtmlWindow - Printing?
Replies: 11
Views: 1719

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)
by Auria
Fri Jan 25, 2013 1:20 am
Forum: Compiler / Linking / IDE Related
Topic: Finding what values a library used
Replies: 1
Views: 1359

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...
by Auria
Fri Jan 25, 2013 1:17 am
Forum: Compiler / Linking / IDE Related
Topic: Compile under MAC OX X 10.8.2
Replies: 2
Views: 1360

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
by Auria
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: 1111

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
by Auria
Wed Jan 23, 2013 11:29 pm
Forum: C++ Development
Topic: Anyone using wxGLString? [SOLVED]
Replies: 6
Views: 1290

Re: Anyone using wxGLString? [SOLVED]

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...
by Auria
Sun Jan 06, 2013 3:48 pm
Forum: General Development
Topic: wxHTMLHelpController
Replies: 5
Views: 2033

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
by Auria
Sun Jan 06, 2013 3:46 pm
Forum: General Development
Topic: drawing shapes
Replies: 3
Views: 2090

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...
by Auria
Sun Jan 06, 2013 3:43 pm
Forum: C++ Development
Topic: wxBoxSizer question
Replies: 9
Views: 1310

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)

Go to advanced search