Search found 4171 matches

by DavidHart
Fri Jul 07, 2023 2:47 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7429

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

It is sent only for TLW (wxFrame) windows. wxFrame isn't the only TLW... Build the program under 'samples/dialog' and then show a modal dialog box that has a maximise button. Which one has a maximise button for you? I can't find one that does... BTW, $> wxctrl -m says I'm running GNOME Shell. Do yo...
by DavidHart
Wed Jul 05, 2023 7:01 pm
Forum: Platform Related Issues
Topic: [Website] Issues with the sub-domain for APT repositories
Replies: 1
Views: 1823

Re: [Website] Issues with the sub-domain for APT repositories

Hi, I don't think that's been available for some years, and $(Search Engine) seems to agree. From the mention of apt, I presume you are on Linux, and run debian or one of its derivatives. Depending on which wx version you want, you can: - get it from your distro's official repo. - get unofficial pac...
by DavidHart
Wed Jun 28, 2023 4:25 pm
Forum: Platform Related Issues
Topic: Maximise has no effect - Latest Version Ubuntu 23. 04
Replies: 19
Views: 7429

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

Hi,

I've just installed the official 23.04 wx3.2-examples package, then built and run 'minimal'. Its minimise/maximise buttons work as expected.

What happens when you run one of those samples? If they work OK, look and see what your program does that's different.

Regards,

David
by DavidHart
Wed Jun 28, 2023 11:38 am
Forum: C++ Development
Topic: Any way to add post event function
Replies: 5
Views: 501

Re: Any way to add post event function

IOW you don't want the left panel to query the server every millisecond. You could still use a wxUpdateUIEvent: in its handler, decrement a (static int) counter. When it reaches 0, query the server and reset the int to e.g. 1000. Or you could use a wxTimer in that panel to do something similar. Or, ...
by DavidHart
Wed Jun 28, 2023 9:09 am
Forum: C++ Development
Topic: Any way to add post event function
Replies: 5
Views: 501

Re: Any way to add post event function

Hi,

Maybe I don't understand what you're trying to do, but it sounds as if you want to use a wxUpdateUIEvent. See e.g. the 'event' sample (but there are lots of others too) that comes with the wx source-code.

Regards,

David
by DavidHart
Tue Jun 06, 2023 7:03 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker fails to find libraries
Replies: 6
Views: 688

Re: Linker fails to find libraries

OK. Assuming you don't want to delete the /usr/local/ wx, it looks as if you need, in CLion's linker settings, to set one of the env. variables in the above link to /usr/lib/. Perhaps try LIBRARY_PATH.
by DavidHart
Tue Jun 06, 2023 5:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker fails to find libraries
Replies: 6
Views: 688

Re: Linker fails to find libraries

So you have wx3.3 installed too, but in /usr/local instead of /usr. That's the default location for a self-build. What happens if you do: sudo update-alternatives --display wx-config That should show if you have multiple wx installs (though I can't remember if it looks in /usr/local too: I never ins...
by DavidHart
Tue Jun 06, 2023 2:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker fails to find libraries
Replies: 6
Views: 688

Re: Linker fails to find libraries

Hi, What is the result of doing, in a terminal: wx-config --libs all Mine is: david@vbox:/common/Repositories/ubuntu$ wx-config --libs all -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk3u_unofficial_xrc-3.2 -lwx_gtk3u_unofficial_webview-3.2 -lwx_gtk3u_unofficial_stc-3.2 -lwx_gtk3u_unofficial_richtext...
by DavidHart
Tue May 23, 2023 4:12 pm
Forum: General Development
Topic: My hat off!
Replies: 8
Views: 2978

Re: My hat off!

Sorry but I don't have the time to run CMake etc. and see if I could catch the bug. Er, which bug? Edit: wxCrafter seems more appropriate for my usage. I would like to use it. So again, I'm available to check it in release mode. Good. But perhaps a better place to discuss this would be the CodeLite...
by DavidHart
Tue May 23, 2023 2:21 pm
Forum: General Development
Topic: My hat off!
Replies: 8
Views: 2978

Re: My hat off!

Is wxCrafter open sourced? Yes, for several years now. It was originally nagware. Is it part of CodeLite source respository? Yes. If you download CodeLite, binary or source, you automatically get wxCrafter too. Or does it have its own? Yes, I think it still does too, though I don't have the link st...
by DavidHart
Tue May 23, 2023 9:28 am
Forum: General Development
Topic: My hat off!
Replies: 8
Views: 2978

Re: My hat off!

Yea, you know QML, XAML and the like. I mentioned XRC because that's what wxWidgets supports. A bit off-topic here, but: 1. I ran it and expected a sort of "create..." under the File menu. But there wasn't. No. You start by creating a new top-level window from the Designer tab. 2. There m...
by DavidHart
Sun May 21, 2023 2:39 pm
Forum: General Development
Topic: My hat off!
Replies: 8
Views: 2978

Re: My hat off!

Hi, I installed wxFormBuilder and it seems quite good. Which tool would you suggest or use in prodcution? You've probably already found the wxWiki list . I recommend wxCrafter, which comes with the CodeLite IDE; but I'm biased, as I help out on them. ...tools for designing wxWidgets UI and producing...
by DavidHart
Tue May 09, 2023 9:06 am
Forum: General Development
Topic: Bakefile support
Replies: 12
Views: 3444

Re: Bakefile support

E: Unable to locate package libpython27-dev
Try again, but this time use the correct name: libpython2.7-dev
by DavidHart
Sun May 07, 2023 5:30 pm
Forum: General Development
Topic: Bakefile support
Replies: 12
Views: 3444

Re: Bakefile support

As I'm sure you realised immediately after you made that post, it means that you've not installed the package that contains the python headers. That usually means a package with the ending '-dev'. If you went to the debian packages page, https://www.debian.org/distrib/packages#search_packages, and r...
by DavidHart
Sat May 06, 2023 5:27 pm
Forum: General Development
Topic: Bakefile support
Replies: 12
Views: 3444

Re: Bakefile support

Why not use the latest one? If it's good enough for VZ....