Search found 68 matches

by bsenftner
Tue May 26, 2020 5:27 pm
Forum: C++ Development
Topic: discarding inputs during initialization?
Replies: 2
Views: 44

discarding inputs during initialization?

I have a moderately complex wxWidgets application with multiple windows, each having notebooks with multiple panels, some panels display video streams from IP sources, controlling toolbars, arrays of buttons that pop dialogs and so on. Each time the application is launched, it recreates the multiple...
by bsenftner
Tue May 05, 2020 5:55 pm
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 201

Re: which are the correct Visual Studio compiling instructions?

For what it's worth, I've downloaded fresh copies and recompiled wxWidgets a number of times in the last few days, and the Visual Studio projects/solutions are definitely not setup correct. To insure correct compiles for a static library build, every single project (except "_custom_build") needs to ...
by bsenftner
Tue Apr 14, 2020 12:19 am
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 201

Re: which are the correct Visual Studio compiling instructions?

Never mind. I don't know why, but my dumb ass missed the "TARGET_CPU=X64" bit after staring right at it far too many times.
by bsenftner
Mon Apr 13, 2020 11:02 pm
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 201

which are the correct Visual Studio compiling instructions?

I'm trying to compile static libs for version 3.1.3, yet going through multiple compile guides, I am not finding success. Every compile guide is either old, or produces the wrong libraries. The instructions included in the download at wxWidgets-3.1.3/docs/msw/install.md are unclear or wrong. Followi...
by bsenftner
Mon Apr 13, 2020 6:01 pm
Forum: C++ Development
Topic: wxWebView questions
Replies: 1
Views: 91

wxWebView questions

I've started using wxWebView to create interactive help panels in my applications. I'm running wxWidgets 3.1.2, and am thinking of moving to version 3.1.3; developing in Win10 and deploying to Win64 and Ubuntu. If anyone can answer a few questions about working with a wxWebView, their information wo...
by bsenftner
Thu Jan 09, 2020 4:24 pm
Forum: C++ Development
Topic: medium to large programmatic updates to a wxTextCtrl
Replies: 1
Views: 152

medium to large programmatic updates to a wxTextCtrl

I have a multi-line wxTextCtrl that sits in a wxPanel next to a wxGlCanvas. The wxGlCanvas updates at a 30 fps rate, and the wxTextCtrl displays information messages generated by the wxGlCanvas code as it runs. One if the things that can be sent to the wxTextCtrl are text files (scripts) associated ...
by bsenftner
Mon Aug 12, 2019 8:45 pm
Forum: C++ Development
Topic: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?
Replies: 3
Views: 252

Re: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?

Thanks for the info. The primary type of crash we experience is users overloading their systems, which are then killed via Task Manager or similar. Our app does video analysis, and inexperienced users can overwhelm a system to unresponsiveness. So it's killed. There is little one can do with people ...
by bsenftner
Mon Aug 12, 2019 6:41 pm
Forum: C++ Development
Topic: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?
Replies: 3
Views: 252

wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?

Developing with latest wxWidgets in Visual Studio 2015 C++ on Win10. We have successfully been using wxSingleInstanceChecker in combination with the Win32 API RegisterApplicationRestart() to relaunch our wxWidgets application after crashes. However, we just found that Application Restart is no longe...
by bsenftner
Thu Jul 25, 2019 7:23 pm
Forum: C++ Development
Topic: wxGetTextFromUser() very delayed return
Replies: 4
Views: 236

Re: wxGetTextFromUser() very delayed return

Well, I must have had a "bad library compile" with my previous build, because a fresh download and rebuilding of the wxWidgets source works perfectly fine, as expected. I'd downloaded the source to build a step-wise debugging version, which I have now, but don't need anymore. (I'm sure a step-wise d...
by bsenftner
Thu Jul 25, 2019 1:00 pm
Forum: C++ Development
Topic: wxGetTextFromUser() very delayed return
Replies: 4
Views: 236

Re: wxGetTextFromUser() very delayed return

I am developing and debugging in Win10, so I have not tried Linux yet. I pass in the main window as the parent to the wxGetTextfromUser(). Another developer, compiling the program separately, also sees wxGetTextFromUser()'s delayed return, but is able to get the return to occur by generating toolbar...
by bsenftner
Thu Jul 25, 2019 1:56 am
Forum: C++ Development
Topic: wxGetTextFromUser() very delayed return
Replies: 4
Views: 236

wxGetTextFromUser() very delayed return

Working in C++ VisualStudio 2015, deploying to flavors of Windows & Linux, and using the latest wxWidgets. I have a multi-window application, each window being a wxFrame containing a wxNotebook, with toolbars on the notebook pages, and the majority of the secondary windows being video players with a...
by bsenftner
Mon Jun 24, 2019 6:55 pm
Forum: C++ Development
Topic: Threaded Job/Queue Manager getting stuck?
Replies: 8
Views: 439

Re: Threaded Job/Queue Manager getting stuck?

For future readers of this thread, the situation is a case of out of date docs. Apparently, AddPendingEvent() is a wrapper around wxQueueEvent(), and the documentation recommending use of wxQueueEvent() is out of date. The key take away for events crossing thread boundaries is when sending non-scala...
by bsenftner
Mon Jun 24, 2019 5:11 pm
Forum: C++ Development
Topic: events, secondary threads & app remote control
Replies: 10
Views: 492

Re: events, secondary threads & app remote control

I believe I am in a NIH (not invented here) catch-22. My CTO does not use any custom events in his wxWidgets projects; he simply uses wxEVT_TEXT for all customized event situations, and then uses Connect() with unique IDs to bind different function pointers to the unique IDs. He has success with oth...
by bsenftner
Mon Jun 24, 2019 3:36 pm
Forum: C++ Development
Topic: AddPendingEvent() documentation is wrong
Replies: 3
Views: 204

AddPendingEvent() documentation is wrong

This is fairly confusing: The documentation around AddPendingEvent() says: Add an event to be processed later: notice that this function is not safe to call from threads other than main, use QueueEvent() Yet, AddPendingEvent() is literally: virtual void AddPendingEvent(const wxEvent& event) { // com...