Search found 193 matches
- Thu Apr 11, 2024 1:59 pm
- Forum: Compiler / Linking / IDE Related
- Topic: I'd need some help in compiling my app
- Replies: 7
- Views: 1706
Re: I'd need some help in compiling my app
Hi, The crash occur with wx 3.2.4 and GTK 3, right? What is the backtrack at that time? Can you try building as DEBUG and run it under gdb? I was hard to track down, but i got it: the crash occured only on the BBB, with wx3.2.4, no matter what GTK. It was an infinite loop of OnSize events, 'cause t...
- Thu Apr 11, 2024 12:33 pm
- Forum: Compiler / Linking / IDE Related
- Topic: I'd need some help in compiling my app
- Replies: 7
- Views: 1706
- Thu Apr 11, 2024 8:20 am
- Forum: Compiler / Linking / IDE Related
- Topic: I'd need some help in compiling my app
- Replies: 7
- Views: 1706
Re: I'd need some help in compiling my app
My project until now was compiled in a Debian PC, using GTK2 and the wxWidgets 3.1.2 Is that a standard debian x86_64, or on the Arm PC? If not on the Arm, I suggest trying building/running with GTK2/wx3.1.2 there. If that runs OK, it narrows down the possible causes. Sorry, i try to be more clear:...
- Mon Apr 08, 2024 3:55 pm
- Forum: Compiler / Linking / IDE Related
- Topic: I'd need some help in compiling my app
- Replies: 7
- Views: 1706
I'd need some help in compiling my app
I am in the (extremely painful) process of writing a Makefile in order to compile for linux-arm from a Windows PC, using a WSL Debian image. My project until now was compiled in a Debian PC, using GTK2 and the wxWidgets 3.1.2, now i want to switch to GTK3 and using the latest stable wx 3.2.4 I've al...
- Fri Mar 29, 2024 3:37 pm
- Forum: Platform Related Issues
- Topic: GTK2 or GTK3? Please help me understaing and/or solving
- Replies: 3
- Views: 4385
GTK2 or GTK3? Please help me understaing and/or solving
I confess my full ignorance about the GTK subject, i tried to read online but i hardly understand. Please be patient with me TL:DR Should i use GTK2 or GTK3 with wxWidgets? what would be the differences? Why i get the error Gtk-CRITICAL ** gtk_distribute_natural_allocation assertion 'extra_space = ...
- Wed Mar 27, 2024 8:01 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 15231
- Tue Mar 26, 2024 4:25 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 15231
Re: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
oh ... i'm definitely dumb. It created a subfolder in the minimal one called gcc_mswud_MinGW1320x64_d and put the .exe there. Thanks a lot. Now, just to try to set it in my memory (or at least have it written here): seems to me that it wasn't that way the last time i tried... i remember the samples ...
- Tue Mar 26, 2024 2:25 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 15231
Re: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
What is "x86_64-w64-mingw32-g++" doing there were building only the samples? I don't know: It is the output i get after the mingw32-make minimal command. You need to pass the same build parameters to the samples you used for the library. [...] You should also use the same -CFG, otherwise ...
- Tue Mar 26, 2024 12:50 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 15231
Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
Seems that i always stumble on this step... sorry if the question is stupid but i didn't find a solution before asking here. I've downloaded the latest sources, and compiled with MinGW64 13.2, using this command: mingw32-make -j8 -f makefile.gcc setup_h CXXFLAGS="-std=gnu++17" USE_XRC=1 SH...
- Tue Mar 12, 2024 9:32 am
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 4129
Re: Making win10 Magnifier with wxWidgets: is it feasible?
I assume under Window the Magnification API is used, which does all the heavy lifting: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/magapi/magapi-intro I've stumbled on this page: https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/ and other t...
- Mon Mar 11, 2024 4:56 pm
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 4129
Re: Making win10 Magnifier with wxWidgets: is it feasible?
I doubt it's possible with wxWidgets methods alone, you'll probably need some platform specific code. For a start, wxScreenDC is the only way to access the screen content, and i wouldn't know any way to exclude your own window from it. I assume under Window the Magnification API is used, which does...
- Mon Mar 11, 2024 3:17 pm
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 4129
Making win10 Magnifier with wxWidgets: is it feasible?
I'm investigating if making a program similar to the Windows 10 Magnifier using wxWidgets is doable. The goal is to have a full-screen window which shows a zoomed portion of what is under the mouse, and that allows the user to click on what is shown. This makes me think immediatly at two problems: c...
- Thu Dec 07, 2023 9:27 am
- Forum: C++ Development
- Topic: can wxGraphicsContext be used to draw on a child control?
- Replies: 1
- Views: 1403
can wxGraphicsContext be used to draw on a child control?
I've learnt how to draw what i want using DC in the OnPaint event of a wx<something> (i usually derive my components from wxPanel).
I wonder if i can do the same drawing from OUTSIDE, so (as example) drawing a gradient from the main form on a child wxPanel.
There's a way do it?
I wonder if i can do the same drawing from OUTSIDE, so (as example) drawing a gradient from the main form on a child wxPanel.
There's a way do it?
- Thu Nov 09, 2023 11:29 am
- Forum: C++ Development
- Topic: How to get a nested sizer?
- Replies: 2
- Views: 3063
Re: How to get a nested sizer?
Thanks a lot.
- Thu Nov 09, 2023 9:23 am
- Forum: C++ Development
- Topic: How to get a nested sizer?
- Replies: 2
- Views: 3063
How to get a nested sizer?
This is part of how my app is built: wxCrafterTree.png How can i get a wxGridBagSizer* to grbHelp_MAIN ? If i call m_Page_15_HELP->GetSizer() i get a pointer to boxSizer5409 ... There's a way to get it starting from m_panHelp_HOME ? It would be more handy as that hierarchy will never change, while t...