Search found 4171 matches

by DavidHart
Fri Jul 28, 2023 5:11 pm
Forum: Platform Related Issues
Topic: How to uninstall wxWidgets from Ubuntu 22.04
Replies: 3
Views: 2304

Re: How to uninstall wxWidgets from Ubuntu 22.04

so it doesn't show up in the apt package manager That just stops you uninstalling it using apt. It shouldn't affect the rest of what I wrote. Assuming that, after configure and make, you did sudo make install update-alternatives should 'see' the wx3.2 build and let you select wx3.0.5 instead. If yo...
by DavidHart
Fri Jul 28, 2023 3:57 pm
Forum: Platform Related Issues
Topic: How to uninstall wxWidgets from Ubuntu 22.04
Replies: 3
Views: 2304

Re: How to uninstall wxWidgets from Ubuntu 22.04

Hi, How to uninstall wxWidgets ... The literal answer is to use 'apt' (or, easier one of its front-ends e.g. synaptic) to remove its -dev files. However a far better way to approach the problem is to install wx3.0.5 as normal; it shouldn't conflict with wx3.2. Then you can use 'alternatives' to sele...
by DavidHart
Tue Jul 25, 2023 6:58 pm
Forum: Platform Related Issues
Topic: wxWidgets locales issues
Replies: 5
Views: 2509

Re: wxWidgets locales issues

Searching my Mint PC for en_CA does not find anything with a UTF-8 'extension'. (Which Mint version, btw? Your post mentions 21.1 but your sig says 21.2. Though it's unlikely to make a difference here.) Any installed files are likely to be in /usr/share/locale/ e.g. /usr/share/locale/en_CA/LC_MESSA...
by DavidHart
Tue Jul 25, 2023 9:00 am
Forum: Platform Related Issues
Topic: wxWidgets locales issues
Replies: 5
Views: 2509

Re: wxWidgets locales issues

In addition, read the Internationalisation doc page.
by DavidHart
Thu Jul 20, 2023 4:57 pm
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

apt only installs what you tell it to, plus any dependencies of those packages. The -dev package of libwxgtk-webview3.2 is not a dependency of anything else, so you have explicitly ask for it to be installed.
by DavidHart
Thu Jul 20, 2023 3:40 pm
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

Searching for wx_gtk3u_unofficial_webview gives me /lib/codelite/libwx_gtk3u_unofficial_webview-3.2.so ... Ah, that suddenly makes sense. You have CodeLite installed of course and (unusually) unofficial CodeLite packages contain its dependent wx libs. So pointing to that dir would, in a round-about...
by DavidHart
Thu Jul 20, 2023 9:22 am
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

I'm still struggling to think of a reason why webview is missing. E: Unable to locate package libwxgtk-webview3.2unofficial-dev: command not found libwxgtk-webview3.2-0-unofficial-dbg: command not found I've just checked the server: they're definitely there. What are your repository settings (the wx...
by DavidHart
Wed Jul 19, 2023 9:11 pm
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

AFAIU, I did build static libraries for my current projects Yes, but static wx libs, or just your projects' libs? Codelite for the debug version Compiler: -g;-O0;$(shell wx-config --libs --cxxflags --unicode=yes ) You don't want --libs in the Compiler section. Linker : $(shell wx-config --libs std,...
by DavidHart
Wed Jul 19, 2023 7:50 pm
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

sudo apt-get install libwxbase3.2-0-unofficial \ libwxbase3.2unofficial-dev \ ... libwxgtk-webview3.2-0-unofficial \ libwxgtk-webview3.2unofficial-dev \ libwxgtk-webview3.2-0-unofficial-dbg \ libwxbase3.2-0-unofficial-dbg \ ... Reading package lists... Done Building dependency tree... Done Reading ...
by DavidHart
Wed Jul 19, 2023 6:43 pm
Forum: Platform Related Issues
Topic: WebView library under Mint
Replies: 16
Views: 6031

Re: WebView library under Mint

Hi, I have built and installed the wxWidgets libraries as static libs as per the instructions for gtk in the documentation. Definitely 'static'? That's unusual for Linux builds: 99% of people use dynamic linking (and the other 1% should too!). Where did you install that build? I have included webvie...
by DavidHart
Wed Jul 12, 2023 1:02 pm
Forum: C++ Development
Topic: OnResizeGUI
Replies: 5
Views: 365

Re: OnResizeGUI

Hi,

In the handler you could use wxMouseState::LeftIsDown to see if the resize is still continuing.

Regards,

David
by DavidHart
Sun Jul 09, 2023 8:39 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7441

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

So the wxWidgets documentation is in error in that it says a wxDialog can have min and max? I see what you mean: https://docs.wxwidgets.org/stable/classwx_dialog.html mentions wxMAXIMIZE_BOX and wxMINIMIZE_BOX styles. In that case I suggest that you open a bug-report on trac (after first searching ...
by DavidHart
Sun Jul 09, 2023 4:52 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7441

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

My Dynamo program has the window styles for Max and Min buttons, but the clicking of them is ignored. Sorry. Instead of: I suspect that the samples' wxDialogs are not supposed to have maximise/minimise buttons... I should have said: I suspect any wxDialogs are not supposed to have maximise/minimise...
by DavidHart
Sun Jul 09, 2023 2:29 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7441

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

$ wmctrl -m Name: GNOME Shell So that's not the difference. What about themes? Did you install one that's different from the default? (I should say at this point that 1) I have little theme experience (I care far more about function than form) 2) I don't actually use ubuntu; I'm reporting what I se...
by DavidHart
Sat Jul 08, 2023 1:36 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7441

Re: Maximise has no effect - Latest Version Ubuntu 23. 04

$> wxctrl -m Sorry, that should be: $> wmctrl -m you can see the max and min buttons in the 'dialogs' sample: I can see yours, but not mine: MessageboxDlg.png Testing in debian bullseye, I don't have max/min buttons either. That's with a different window manager: $> wmctrl -m Name: Xfwm4