Search found 867 matches

by eranon
Tue Mar 27, 2018 7:39 am
Forum: Compiler / Linking / IDE Related
Topic: OSX linking error, architecture-related?
Replies: 7
Views: 722

Re: OSX linking error, architecture-related?

For me, there's an initial problem here: you request an universal binary with one arch only (i386) and the arch you indicate beside (x86_64) is not the same. If it's universal, it's at least two architectures inside, and your other build options should match. So, here it should be "--enable-universa...
by eranon
Tue Mar 27, 2018 7:18 am
Forum: C++ Development
Topic: Showing images from a video stream
Replies: 85
Views: 4898

Re: Showing images from a video stream

Hello, Is your OnPaint function called at a time or another (I mean, outside of the moment you force a refresh)? If it's never called, then there is effectively a link problem with your Connect (so, you could maybe try a static event table as shown below). If yes (it's called somewhere), the issue i...
by eranon
Tue Mar 27, 2018 6:21 am
Forum: C++ Development
Topic: Call to SetMenuBar() Results in Segmentation Fault
Replies: 23
Views: 1392

Re: Call to SetMenuBar() Results in Segmentation Fault

Wow! What you do here is a workaround, not a solution. You know, it's as if I knew that a literal string was bad in my source code and that I solve the problem by an automated search & replace in the final executable at post-build step °O° Frankly, solve the issue at wxSmith level; the closest to th...
by eranon
Mon Mar 26, 2018 11:17 am
Forum: Compiler / Linking / IDE Related
Topic: OSX linking error, architecture-related?
Replies: 7
Views: 722

Re: OSX linking error, architecture-related?

Hello,

And did you use -v to see detailed invocation? Does it fails to link or write on disk: this is the question.
Also, you could try to add --enable-macosx_arch=x86_64
by eranon
Mon Mar 26, 2018 10:55 am
Forum: C++ Development
Topic: Showing images from a video stream
Replies: 85
Views: 4898

Re: Showing images from a video stream

Hello, It also depends on the lib or API you're using to communicate with the video device. Does it provides a prototype for a callback function you have to implement? If yes, it's the place to acquire each frame... Then, you display it during a paint event handler as doublemax showed you.
by eranon
Sat Mar 24, 2018 1:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Existing wxWidgets v3.03 Project Migration to v3.04
Replies: 2
Views: 470

Re: Existing wxWidgets v3.03 Project Migration to v3.04

Since I saw in another thread you're using Codeblocks, you simply have to adjust the path to wxWidgets as PB said. In Codeblocks, the easiest way is to use a global variable in settings. For example, you can call it "wx" if you're using a single wxWidgets version for all your projects or wx30 if you...
by eranon
Sat Mar 24, 2018 12:37 pm
Forum: C++ Development
Topic: Call to SetMenuBar() Results in Segmentation Fault
Replies: 23
Views: 1392

Re: Call to SetMenuBar() Results in Segmentation Fault

I found the default size checkbox. I have checked it for all tabs in the wxNotebook front panel object. But the segmentation fault persists. If you checked the "Default size" option about the concerned panel, wxSmith should regenerate the constructor appropriately. I just checked before to write th...
by eranon
Fri Mar 23, 2018 12:31 pm
Forum: Platform Related Issues
Topic: wxDirDialog looks strange on win7
Replies: 15
Views: 1312

Re: wxDirDialog looks strange on win7

But whatever the place where you declare and create it, as member or not, on heap for a long life or on stack for a short one, it's not a permanent part of your UI on screen and you don't even have to manage a place holder for it... Thus, you don't need wxSmith nor any GUI designer for it. You simpl...
by eranon
Fri Mar 23, 2018 12:15 pm
Forum: C++ Development
Topic: Call to SetMenuBar() Results in Segmentation Fault
Replies: 23
Views: 1392

Re: Call to SetMenuBar() Results in Segmentation Fault

I read diagonally, but maybe cousin of this topic on August 2017 (about excess of SetSizer and Layout as doublemax pointed): http://forums.codeblocks.org/index.php?topic=22068.0. So, maybe you should report the issue towards the Code::Blocks team (who maintains wxSmith)...
by eranon
Fri Mar 23, 2018 11:58 am
Forum: Platform Related Issues
Topic: wxDirDialog looks strange on win7
Replies: 15
Views: 1312

Re: wxDirDialog looks strange on win7

Thanks, and it´s look like the standard dirDialog? Unfortunately it´ll be a pain in the as for me, as I am using wxSmith and mixing autogenerated stuff mixed with manual stuff can be problematic sometimes. Typically (unless very specific design), you don't add your dir. dialog in your user-interfac...
by eranon
Wed Mar 21, 2018 11:24 am
Forum: General Development
Topic: What about the efficiency of wxWidgets' message map against MFC's?
Replies: 13
Views: 3059

Re: What about the efficiency of wxWidgets' message map against MFC's?

Now Vadim said many times that wx API is not perfect and if he would, he would rewrite wx from scratch with the proper API in mind. Problem is - it will take a lot of time and money to do just that. Yep, it's the overall issue of the life, ONEEYEMAN : There's no try, it's directly in reality... Wel...
by eranon
Tue Mar 20, 2018 9:55 pm
Forum: General Development
Topic: What about the efficiency of wxWidgets' message map against MFC's?
Replies: 13
Views: 3059

Re: What about the efficiency of wxWidgets' message map against MFC's?

Native API can do everything, maybe it is not too hard to use, I must try. Native OS API can do everything about a single OS. More you go down in the layers, more it's specialized. So, wxWidgets is one single step above; the lowest layer for a native cross-platform API. But, of course, if you prefe...
by eranon
Tue Mar 20, 2018 3:32 pm
Forum: General Development
Topic: What about the efficiency of wxWidgets' message map against MFC's?
Replies: 13
Views: 3059

Re: What about the efficiency of wxWidgets' message map against MFC's?

Wow °O° Don't you think you're starting by studying the life of the ants before even looking at landscape... In reference to a previous thread you started, Ronald, just go with a first project, then profile and optimize what necessary for real -- afterward only. Upstream over-analysis is a good bloc...
by eranon
Tue Mar 20, 2018 3:06 pm
Forum: C++ Development
Topic: wxWidgets 3.0.4 Thread sample memory leak
Replies: 4
Views: 361

Re: wxWidgets 3.0.4 Thread sample memory leak

"Same" behavior here with the thread sample from wxWidgets 3.1.0 built against Visual Studio 2017 Community under Windows 7 64-bit. But I'm writing same with quotes because it hangs, freezes and becomes unresponsive after I'm back from a GUI-oriented thread (closing the dialog before 100%), but all ...
by eranon
Mon Mar 19, 2018 2:23 pm
Forum: C++ Development
Topic: Where to put constant processing code
Replies: 5
Views: 458

Re: Where to put constant processing code

I believe I did not express myself clearly enough when formulating #2 and #3 in the first post. As for #3, are you referring to the option I have now further detailed, or are you referring to something else? Please explain what you are referring to, and if possible with a simple code example. I am ...