4,254 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
15
views
Tracking down macOS memory error(s) with ASAN
I'm casting a bit about in the dark here. I'm experiencing a memory corruption error unpredictably/rarely on macOS that I am having a difficult time tracking down.
The crash in the debugger (with ASAN ...
3
votes
1
answer
104
views
Build wxPython in a virtual environment, Python 3.14 Debian 13
I am trying to build wxPython in a virtual environment. Debian 13 does not come with Python 3.14. I have installed Python 3.14 in a virtual environment. I have installed the dependencies and it seems ...
2
votes
1
answer
174
views
How to draw proper logic gate curves (OR/NOR shapes) using quadratic Bezier curves in wxWidgets? [closed]
I'm developing a digital circuit design and simulation tool similar to Logisim, and I'm struggling immensely to render the distinctive curved shape of logic gates like OR/NOR gates. Despite numerous ...
1
vote
2
answers
86
views
wxPython StyledTextControl spaces are not styled
I am trying to write a small text editor using the StyledTextControl in wxPython. Most of the styling is working, but spaces remain unstyled and are shown as white areas, the picture shows the effect.
...
2
votes
0
answers
67
views
How to change hover color of a wxButton
I’d like to know whether it’s possible to change the background color of a wxButton when the mouse is hovering over it. On Windows, I tried handling the enter/leave window events, but it seems the ...
Reza's user avatar
- 4,099
0
votes
2
answers
83
views
How to fire wxWidgets custom event outside of wxFrame
I would like to fire a wxWidgets custom event from outside of wxFrame or wxApp.
How do I do this?
Background
I have a wxGauge (progress bar) that I want to update from my Model (which is not part of ...
0
votes
1
answer
314
views
How can I install Wxpython on Fedora?
Please, how can I install wxpython on Fedora os?
I have tried installing it but I got the following error. Thank you in advance for your answer.
I have the C++ compiler installed on my computer but I ...
0
votes
0
answers
78
views
wxWindow can't have transparent background and replacement for it
I created this C++ class for my wxWidgets app. The bitmap and image are both transparent.
#include <wx/wx.h>
#include <wx/image.h>
class PouCharacter : public wxWindow
{
public:
...
0
votes
0
answers
75
views
wxWidgets on Linux and its Release to vcpkg
I have two related questions:
I am on a Linux Mint OS and trying to install wxWidgets from vcpkg and having problems. Has anyone achieved to install wxWidgets from vcpkg on Linux? Are there ...
1
vote
1
answer
70
views
modal wxDialog issue in wxWidgets [closed]
I created a dialog (on the stack) inside a panel when a user clicks a button.
auto* btn_search_patient = new wxButton(panel, wxID_ANY, "Search");
btn_search_patient->Bind(wxEVT_BUTTON, [&...
0
votes
0
answers
90
views
Using WXUSINGDLL has no effect on the linkage
my wxWidgets application has multiple C++ projects (one executable and all the other static libraries). I am using Visual Studio 2022 with a solution having Debug and Release configurations only for ...
-1
votes
1
answer
161
views
Can anyone help getting wxPython to build?
I am trying to build wxPython (version 4.2. 4a1) from source for python 3.12.3 using wxWidgets (version 3.2. 7. 1) and SIP (version 6.11. 0) in a Docker container based on Ubuntu 24.04. The build ...
1
vote
2
answers
110
views
How can I use a wx.FileDialog to select a file which is locked by another process
I'm trying to use the wx.FileDialog class to select the name of a file. I don't want to open it. This is a minimal example of what I'm trying to do:
import wx
if __name__ == '__main__':
app = wx....
1
vote
2
answers
84
views
Event publishing from wxThread to wxWidgets Application
In my wxWidgets application, I do:
Disable all "User" widgets.
Create a thread to read, parse and store data from a file.
I want to send a message (event?) to the main application from the ...
0
votes
2
answers
104
views
How to run wxWidgets official samples?
I built wxWidgets in Windows with cmake
cmake -G "MinGW Makefiles" /path/to/wxWidgets/ -DwxBUILD_SAMPLES=ALL
cmake --build .
Now I got a lot of output files in folders build\samples\...