W
Hi ALLin my code I used to write:Code: wxMessageBox( _wxString::Format( "Line %d is incorrect", line), _( titleStr ) );However im now start getting static assertion during compilation.How do I best rewrite that?Thank you.Statistics: Posted by ONEEYEMAN — Sat Nov 21, 2026 8:46 pm — Replies 0 — Views 4
W
Is there a way to find out the position of the taskbar (left, right, top, bottom) on the screen? I'm displaying a small dialog near the taskbaricon and am currently assuming it's at the bottom right corner. But what if the taskbar is at the top I ask myself.Statistics: Posted by bigpilot — Wed Nov 18, 2026 1:47 pm — Replies 5 — Views 7074
W
Hi, ALL,I have a "template" dialog which will be used to display 3 different sets of data from the DB.My problem is following:1. If I retrieve the data in the caller than I will waste 2 parameters.2. If I retrieve the data in the dialog constructor and there will be an error during retrieval I might end up with the memory leak.What is the way to resolve this to the best solution?Thank you.Statistics: Posted by ONEEYEMAN — Thu Nov 12, 2026 9:19 pm — Replies 8 — Views 1128
W
Hi everyone,I would like to introduce my multi-platform remote desktop project, which I have built from the ground up over many years and have just made public. I used several open-source libraries for it, and for the main user interface, wxWidgets seemed like a great fit thanks to its internal architecture and broad platform support. Although I used very few native widgets, wxWidgets provides a really good API for drawing custom components, and its mouse and keyboard event handling works…
W
Hi ,I am using dual monitor following browser need to be position based on exe location displayed in monitor.Code: [b][/b]if (evt.GetInt() >= 100){m_progressDlg->Destroy();m_progressDlg = nullptr;if (!strHTMLFilePath.IsEmpty()){if (wxIsAbsolutePath(strHTMLFilePath)){#ifdef WINDOWSthis->EndModal(wxID_CLOSE);#elseDestroy();#endifwxLaunchDefaultBrowser(strHTMLFilePath);}elsewxMessageBox("NO File ", "Error", wxOK | wxICON_INFORMATION, this);}elsewxMessageBox("NO File ", "Error", wxOK |…
W
A PHP vulnerability is making the rounds and a fix will be released later today. I advise taking the forum offline until then.Statistics: Posted by bigpilot — Wed Oct 21, 2026 7:26 am — Replies 2 — Views 5977
W
Qt Model/View is quite flexible and powerful,wxWidgets is OS native,is it possible to use AI to make Qt Model/View OS native?Statistics: Posted by Ronald — Wed Oct 21, 2026 3:24 am — Replies 1 — Views 5448
W
Hi,calling wxLaunchDefaultBrowser() with Code: file://Users/Rob/dir with blank/testdoes not open the default browser.Without blanks its no problem; The default browser will open.Adding quotes does not help:Code: "file://Users/Rob/dir with blank/test"Any idea?Statistics: Posted by rocrail — Sun Oct 18, 2026 10:06 am — Replies 2 — Views 2058
W
Is it safe to use such read-only notifier if I want to get notification when item is deleted?I’m having doubts because some methods return a `bool`, and the documentation doesn’t specify what should be returned. Is it safe to simply return `true` in all cases?Code: class MyModelNotifier : public wxDataViewModelNotifier{public: bool Cleared() { return true; } bool ItemAdded(const wxDataViewItem&, const wxDataViewItem&) override { return true; } bool ItemChanged(const wxDataViewItem&) override {…
W
Many years ago, Volodymyr Triapichko (aka T-Rex) started work on wxModularApp, so that we could write wxWidgets programs that accept plugins.I want to go a step further with this, given that my 'Dynamo' program has now gotten quite big. I don't want my entire program to crash if a plugin crashes. Chrome prevents this by launching a new process for each tab. So I want to run the plugins as separate processes.Here's what I'm thinking:The main program runs the executable file for the plugin, and…
W
At the moment I'm using the Claude plugin in VSCode to find bugs in my 'Dynamo' program. I literally just gave Claude the instruction to go through all my header files and sources files to look for bugs. This proved to be a worthwhile exercise.Has anyone done this yet on the entire wxWidgets codebase?Statistics: Posted by Virchanza — Sun Oct 11, 2026 12:16 pm — Replies 3 — Views 1354
W
Wednesday, Oct 14, 6:00 PM to 8:00 PM MDTSometimes you need a custom GUI control for your application and you think "other people could probably use this". Usually this means that the people using your control must use the same GUI toolkit as you: wxWidgets, Qt, ImGui, etc.Can we write a control in such a way that it is easily adaptable to any GUI toolkit?This month, Richard Thomson will give us a brain dump on an attempt to do just that by creating an animation timeline control with adapters…
W
I suspect in SetClientData it is our responsibility to delete pointer (if we get it from heap) but I'm not sure because IMHO docs is not clear.So what is the difference between wxEvtHandler::SetClientData & wxEvtHandler::SetClientObject?Statistics: Posted by newwxuser — Thu Oct 08, 2026 8:44 am — Replies 2 — Views 861
W
Hi All,Have the following problem.I have dialog, which have wxNotebook and wxStdDialogButtonSizer.The first page of wxNotebook contains wxTextCtrl and wxCheckBox and I’m using sizers wxTextCtrl is added to a sizer as wxEXPAND and with proportion 1.However it appears as if it is too small.What could be the problem?Thank you.Statistics: Posted by ONEEYEMAN — Tue Oct 06, 2026 5:03 pm — Replies 8 — Views 766