W
Hi,I have a grid where one column will have "text + button".When the cell is clicked there will be no difference - only the string will be selected. And it will be read-only.When the button is clicked the dialog will be displayed where the cell editing will be done and upon clicking "OK" the text in the cell will be updated with the new text.I think I will need both Renderer and Editor, but I'm not sure.Thank you.Statistics: Posted by ONEEYEMAN — Tue Nov 24, 2026 6:35 am — Replies 3 — Views 55
W
Hi, ALL,I'd like to load gif file from the resources and use it in the animation control.However I don't see anything in the docs on how to do that.The sample is also not helpful.Any pointers?Thank you.Statistics: Posted by ONEEYEMAN — Sun Nov 22, 2026 9:59 pm — Replies 2 — Views 55
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 6 — Views 7301
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 9161
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 1224
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 14173
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 12126
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 2116
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 1585
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…