Hi,
Why? You have a coordinate of you click in the mouse event handler.
Or you mean you want the canvas to stay at the same place?
Thank you.
Search found 7459 matches
- Thu Mar 14, 2024 2:14 pm
- Forum: C++ Development
- Topic: wxGLCanvas
- Replies: 16
- Views: 368
- Thu Mar 14, 2024 2:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: moving to MS Win
- Replies: 24
- Views: 687
Re: moving to MS Win
Hi, On top of what PB wrote. Its pretty weird that you use the pre-built binaries even so you have a source code so that you need to build the samples. Remove the binaries and build everything yourself. More over since quite some time now wxWidgets provide CMake configuration so that people can use ...
- Thu Mar 14, 2024 1:54 pm
- Forum: C++ Development
- Topic: wxGLCanvas
- Replies: 16
- Views: 368
Re: wxGLCanvas
Hi,
Do you also change the scaling, or just the resolution?
Thank you.
Do you also change the scaling, or just the resolution?
Thank you.
- Thu Mar 14, 2024 1:51 pm
- Forum: C++ Development
- Topic: wxGrid object's ref count assertion failed in multi-threading
- Replies: 31
- Views: 879
Re: wxGrid object's ref count assertion failed in multi-threading
Hi, As PB said - this is obviously and definitely wrong. All you do is the following: 1. In the thread create a payload of the data you want to paint. 2. Send wxThreadEvent with that payload to the GUI thread. 3. In the GUI thread wxThreadEvent handler get the payload and call Refresh. 4. In the GUI...
- Wed Mar 13, 2024 8:44 pm
- Forum: Compiler / Linking / IDE Related
- Topic: When compiling and building /samples/richtext : undefined reference to symbol '_ZN12wxHtmlWindow6CreateEP8wxWindowiRK7wx
- Replies: 11
- Views: 2155
Re: When compiling and building /samples/richtext : undefined reference to symbol '_ZN12wxHtmlWindow6CreateEP8wxWindowiR
Hi,
wxWidgets can be successfully built with CMake.
It does so in multiple CI build servers.
Please check the configuration of the CMake before claiming. Compare what you have with the official wxWidgets file.
Thank you.
wxWidgets can be successfully built with CMake.
It does so in multiple CI build servers.
Please check the configuration of the CMake before claiming. Compare what you have with the official wxWidgets file.
Thank you.
- Wed Mar 13, 2024 3:56 pm
- Forum: C++ Development
- Topic: XRCCTRL anomaly?
- Replies: 10
- Views: 248
Re: XRCCTRL anomaly?
Hi,
We understand that.
What I meant is - what do you want to achieve?
Thank you.
We understand that.
What I meant is - what do you want to achieve?
Thank you.
- Wed Mar 13, 2024 1:50 pm
- Forum: C++ Development
- Topic: XRCCTRL anomaly?
- Replies: 10
- Views: 248
Re: XRCCTRL anomaly?
Hi,
Please describe in plain English what is your problem and why you can't use xrc sample to solve it.
Thank you.
Please describe in plain English what is your problem and why you can't use xrc sample to solve it.
Thank you.
- Wed Mar 13, 2024 1:29 pm
- Forum: Compiler / Linking / IDE Related
- Topic: When compiling and building /samples/richtext : undefined reference to symbol '_ZN12wxHtmlWindow6CreateEP8wxWindowiRK7wx
- Replies: 11
- Views: 2155
Re: When compiling and building /samples/richtext : undefined reference to symbol '_ZN12wxHtmlWindow6CreateEP8wxWindowiR
Hi,
Do not, and I repeat - DO NOT- use some arbitrary resources from the web.
Use an official documentation.
Thank you.
Do not, and I repeat - DO NOT- use some arbitrary resources from the web.
Use an official documentation.
Thank you.
- Wed Mar 13, 2024 11:48 am
- Forum: C++ Development
- Topic: XRCCTRL anomaly?
- Replies: 10
- Views: 248
Re: XRCCTRL anomaly?
Hi,
Did yoi check the documentation for wxMenuBar? And xrc sample?
Thank you.
Did yoi check the documentation for wxMenuBar? And xrc sample?
Thank you.
- Wed Mar 13, 2024 11:44 am
- Forum: C++ Development
- Topic: Resize wxFrame according to
- Replies: 5
- Views: 218
Re: Resize wxFrame according to
Hi,
But why do you want it in your code?
Thank you.
But why do you want it in your code?
Thank you.
- Tue Mar 12, 2024 5:22 pm
- Forum: Platform Related Issues
- Topic: macOS Metal Issue - App Crashes Immediately
- Replies: 12
- Views: 299
Re: macOS Metal Issue - App Crashes Immediately
Hi,
What version of wxWidgets do you try to compile?
Thank you.
What version of wxWidgets do you try to compile?
Thank you.
- Mon Mar 11, 2024 7:46 pm
- Forum: C++ Development
- Topic: wxBookCtrlBase : how to automatically detect if I switch from a page to a different one?
- Replies: 3
- Views: 158
Re: wxBookCtrlBase : how to automatically detect if I switch from a page to a different one?
Hi,
You should catch the EVT_xxx_PAGE_CHANGED event.
Thank you.
You should catch the EVT_xxx_PAGE_CHANGED event.
Thank you.
- Mon Mar 11, 2024 6:30 pm
- Forum: Platform Related Issues
- Topic: macOS Metal Issue - App Crashes Immediately
- Replies: 12
- Views: 299
Re: macOS Metal Issue - App Crashes Immediately
Hi, Can you try this: Download the source code of wxWidgets (same version you are using) to a brand new location. build it with the following: cd ~/wxW mkdir buildOSX cd buildOSX ../configure --enable-macosx_arch=x86_64,arm64 --enable-debug make -j5 Post all errors you received during the build. Tha...
- Sun Mar 10, 2024 12:28 pm
- Forum: C++ Development
- Topic: wxStatusbar not updated with help text by wxMenu as popup.
- Replies: 5
- Views: 216
Re: wxStatusbar not updated with help text by wxMenu as popup.
Hi,
If it works as designed you will get a reply there by the wx devs.
This is userr forum made by users for users.
Thank you.
If it works as designed you will get a reply there by the wx devs.
This is userr forum made by users for users.
Thank you.
- Sun Mar 10, 2024 9:51 am
- Forum: Platform Related Issues
- Topic: Where is the library comes from
- Replies: 6
- Views: 253
Re: Where is the library comes from
Hi,
What do you mean?
Every time I'm building it on that laptop I'm removing the build directory completely with:
rm -rf Debug/
and do build from scratch.
Thank you.
What do you mean?
Every time I'm building it on that laptop I'm removing the build directory completely with:
rm -rf Debug/
and do build from scratch.
Thank you.