Search found 27 matches

by ebyrob
Wed Jul 12, 2023 2:39 pm
Forum: Compiler / Linking / IDE Related
Topic: ld: library not found for -lwx_osx_cocoau_core-3.2
Replies: 4
Views: 928

Re: ld: library not found for -lwx_osx_cocoau_core-3.2

I don't know if this might help anyone but this thread did help me... I got this exact error message when I somehow forgot to run top-level "make" after "../configure": ld: library not found for -lwx_osx_cocoau_core-3.2 So, it looks like wx_osx_cocoau_core-3.2.dylib is the first ...
by ebyrob
Fri Oct 18, 2019 2:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing wxchar.h include in crashrpt.cpp?
Replies: 9
Views: 2955

Re: Missing wxchar.h include in crashrpt.cpp?

I'm sorry I left this topic open so long.

Just to follow up, I think I got it working for now by defining WX_PRECOMP. I don't entirely recall the outcome.
by ebyrob
Fri Oct 18, 2019 2:23 pm
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 9
Views: 2528

Re: default constructors in wxWidgets

Sorry for leaving this topic hanging. I have a note in the project I was working on like this: wxString sTitle = "Some Title"; this->SetParent(parent); this->SetId(wxID); this->SetTitle(sTitle); this->SetWindowStyle(536877056L | wxRESIZE_BORDER); // wxWidgets bug means this->GetTitle() won...
by ebyrob
Wed Nov 21, 2018 3:24 am
Forum: Compiler / Linking / IDE Related
Topic: Missing wxchar.h include in crashrpt.cpp?
Replies: 9
Views: 2955

Re: Missing wxchar.h include in crashrpt.cpp?

The latest master from git isn't building right now, something with can't find zlib. Not sure could try again tomorrow. The problem seems likely due to this line in wxprec.h : #ifdef WX_PRECOMP without that including wxprec.h does pretty much nothing, so wxchar.h would not be included at all which w...
by ebyrob
Tue Nov 20, 2018 7:05 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing wxchar.h include in crashrpt.cpp?
Replies: 9
Views: 2955

Re: Missing wxchar.h include in crashrpt.cpp?

> Which command line did you use?
NT batch, executing MSW makefile.vc using NMAKE.

> Does it also happen if you use the project files to build?
I don't think so.

> Can you try again with the latest version from GIT?
I will tonight. (maybe late)
by ebyrob
Tue Nov 20, 2018 7:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing wxchar.h include in crashrpt.cpp?
Replies: 9
Views: 2955

Re: Missing wxchar.h include in crashrpt.cpp?

@PB - sorry it was the 7 in 7zip.

So wxWidgets 3.1.1, NOT 3.1.1.7(zip)
by ebyrob
Mon Nov 19, 2018 10:23 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing wxchar.h include in crashrpt.cpp?
Replies: 9
Views: 2955

Missing wxchar.h include in crashrpt.cpp?

I may be doing something entirely wrong, but... I tried to build latest 3.1.1.7 from source on Windows 7 using Visual Studio 2017. At first it seemed to mostly work but I got a strange error on command line: crashrpt.cpp ..\..\src\msw\crashrpt.cpp(170): error C3861: 'wxSscanf': identifier not found ...
by ebyrob
Wed Nov 07, 2018 7:48 pm
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 9
Views: 2528

Re: default constructors in wxWidgets

There are situations where two-step construction is useful (default ctor + calling wxWindow::Create() at a later time). It was just in this case (wxFrame) I couldn't find a possible use for something created with the default constructor. (Totally crippled / broken) I guess I better dive the source ...
by ebyrob
Wed Nov 07, 2018 7:31 pm
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 9
Views: 2528

Re: default constructors in wxWidgets

Well, I was re-writing from scratch. Trying to see if I could remember enough to do it on my own. I'm at 47 lines of code now, with the full GUI structure implemented and ready to put in some features. (minimal.cpp is 205 lines. Comments I know, but still I wanted to do my own thing etc..) Normally ...
by ebyrob
Wed Nov 07, 2018 6:04 pm
Forum: C++ Development
Topic: default constructors in wxWidgets
Replies: 9
Views: 2528

default constructors in wxWidgets

I'm writing a new application and, to refresh my memory, I started by creating Hello World from scratch again. I spent about an hour trying to figure out why after creating a custom wxFrame and calling ->Show() it just wouldn't appear on the screen. It turns out this is completely invalid: MyFrame::...
by ebyrob
Wed Sep 26, 2018 4:20 pm
Forum: C++ Development
Topic: Want to turn progress dialog modal at the end.
Replies: 5
Views: 1646

Re: Want to turn progress dialog modal at the end.

My experience with threading has been that it introduces even more non-deterministic behaviors to programs and that it can easily become hazardous. For this project I'm working in C++ and I'm not at all happy with C++ exceptions, nor very comfortable with the RAII cleanup model. I've just spent abou...
by ebyrob
Tue Sep 25, 2018 3:46 pm
Forum: C++ Development
Topic: Want to turn progress dialog modal at the end.
Replies: 5
Views: 1646

Re: Want to turn progress dialog modal at the end.

> The dialog won't disappear on its own. I think... I think you're right and I'm not thinking about this correctly. Why can't I just drop the thread when I'm done? For some reason I can't get my head around that after having done so much work with the thread already, I somehow want to hang on to con...
by ebyrob
Tue Sep 25, 2018 3:42 pm
Forum: C++ Development
Topic: Want to turn progress dialog modal at the end.
Replies: 5
Views: 1646

Re: Want to turn progress dialog modal at the end.

> Why is the dialog not modal from the beginning? Well, I couldn't figure out how to keep the thread of execution for myself while calling the blocking method ->ShowModal() I think I got it, and sorry to bother everyone with a now rhetorical question. I wouldn't have thought to try this but I replac...
by ebyrob
Tue Sep 25, 2018 3:18 pm
Forum: C++ Development
Topic: Want to turn progress dialog modal at the end.
Replies: 5
Views: 1646

Want to turn progress dialog modal at the end.

Hello, I've implemented a progress dialog derived from wxDialog which makes a pretty good progress bar so far with short bursts of activity interspersed with a lot of: wxSafeYield(this) At the end I finish processing with a tight loop that looks like this as I wait for the user to hit "Close&qu...
by ebyrob
Thu Aug 02, 2018 4:56 pm
Forum: C++ Development
Topic: wxGridCellAttr::Clone() access violation
Replies: 1
Views: 883

Re: wxGridCellAttr::Clone() access violation

Right, so GetAttr() is returning NULL...

And low and behold, GetAttrProvider() is also returning NULL.

So, ignore this I guess.