Search found 3810 matches

by DavidHart
Sat Sep 14, 2019 12:39 pm
Forum: General Development
Topic: can not create ticket on trac.wxwidgets.org
Replies: 4
Views: 82

Re: can not create ticket on trac.wxwidgets.org

This is a screenshot after I clicked "Create ticket" many times.
OK. In that case I suggest trying with a different browser and/or turning off any active browser add-ons.

If that still fails, please report the issue on the wx-dev mailing list.
by DavidHart
Sat Sep 14, 2019 9:20 am
Forum: General Development
Topic: can not create ticket on trac.wxwidgets.org
Replies: 4
Views: 82

Re: can not create ticket on trac.wxwidgets.org

Hi, Two things: 1) The area below the two buttons, where it says 'ticket not yet created', actually is the preview. (Yes, that's confusing: afaict there's no need for the 'Preview' button too.) So, when it says that the ticket is not yet created, that's correct. It's not created until you click the ...
by DavidHart
Thu Sep 05, 2019 6:23 pm
Forum: C++ Development
Topic: Get wxEvtHandler from event???
Replies: 23
Views: 297

Re: Get wxEvtHandler from event???

If every event requires a handler But it doesn't. An event may be fired, ignored and die of neglect. However, more important is that an event might have multiple handlers e.g. after multiple Bind()s. If so, it gets handled by the first in the list, then either dies or, if event.Skip() is called, is...
by DavidHart
Thu Sep 05, 2019 1:12 pm
Forum: Platform Related Issues
Topic: wxCheckBox is not displayed on KDE Plasma
Replies: 1
Views: 70

Re: wxCheckBox is not displayed on KDE Plasma

Hi, I use wxWidgets on Ubuntu 16 KDE Plasma. I presume you mean 16.04 (xenial) Checkboxes are not displayed on this OS configuration I don't have a plain ubuntu xenial with kde installed. However checking on a 16.04 kubuntu live disc, check and radio boxes work fine in a program built against wx3.0....
by DavidHart
Tue Sep 03, 2019 9:29 am
Forum: Platform Related Issues
Topic: Clarification on wxGTK
Replies: 3
Views: 92

Re: Clarification on wxGTK

So I understand that what you mean is that this wxGTK is not exactly from wxWidgets. No, that's not accurate. I just installed wxWidgets v.3.1.2 and compiled a Hello Word. Not quite. You mean that you downloaded the wxWidgets source tarball; then you built it; then you were able to compile a Hello ...
by DavidHart
Mon Sep 02, 2019 6:30 am
Forum: Platform Related Issues
Topic: Clarification on wxGTK
Replies: 3
Views: 92

Re: Clarification on wxGTK

Hi, wxGTK Is it dependency to install wxWidgets? wxGTK is wxWidgets. It's the standard wxWidgets for Linux, just as wxMSW is the one for Windows, wxMac for OSX. (That's a simplification but it's true enough for normal use.) My question is because when looking at the only packages available for Slack...
by DavidHart
Sun Sep 01, 2019 11:18 am
Forum: C++ Development
Topic: Advise: Best handle wxMenu/accelerator event?
Replies: 24
Views: 331

Re: Advise: Best handle wxMenu/accelerator event?

Sorry, I think you mean the defaults are wxID_ANY?
Yes.
But consider that the semantics of what wxID_ANY mean are unspecified.
They are specified elsewhere: in the Events and Event Handling overview, which you should also read.
by DavidHart
Sun Sep 01, 2019 9:16 am
Forum: C++ Development
Topic: Advise: Best handle wxMenu/accelerator event?
Replies: 24
Views: 331

Re: Advise: Best handle wxMenu/accelerator event?

No need to assume, just look at the doc I wish the documentation were clear, then I would be here less. I couldn't find wxID_ANY in the Bind or Connect documentation. I don't doubt it's somewhere else, but it belongs alongside the parameters. Where were you looking? A click on the above link would ...
by DavidHart
Sat Aug 31, 2019 6:43 pm
Forum: C++ Development
Topic: Advise: Best handle wxMenu/accelerator event?
Replies: 24
Views: 331

Re: Advise: Best handle wxMenu/accelerator event?

I assume if a range of IDs is not provided, then the full range applies. No need to assume, just look at the doc : void wxEvtHandler::Bind(const EventTag & eventType, Functor functor, int id = wxID_ANY, int lastId = wxID_ANY, wxObject * userData = NULL ) fr->Bind(wxEVT_COMMAND_MENU_SELECTED,evt_com...
by DavidHart
Wed Aug 28, 2019 2:28 pm
Forum: Platform Related Issues
Topic: How to set application icon in Linux
Replies: 5
Views: 113

Re: How to set application icon in Linux

Hi,
warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
Your xpm is probably missing the 'const' in
static const char* foo_xpm[] = {

Regards,

David
by DavidHart
Tue Aug 27, 2019 12:48 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 328

Re: Certain methods not working under Linux Mint

The -rm commands helped me make sure that no older versions are present on my system Er, yes; but as the first section of that link says: If you installed wxWidgets through your distro's packages (rpm, deb, tgz, ebuild...) just uninstall it normally. You almost certainly had the official Mint wx3.0...
by DavidHart
Mon Aug 26, 2019 2:41 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 328

Re: Certain methods not working under Linux Mint

Another comment, more to prevent confusion in future readers of this thread: As you now have a 'local' wx install, in /full/path/to/gtk-build/, you must somehow tell C::B how to use it. The simple way is to replace `wx-config --cxxflags` with `/full/path/to/gtk-build/wx-config --cxxflags` (and simil...
by DavidHart
Mon Aug 26, 2019 12:36 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 328

Re: Certain methods not working under Linux Mint

copied the wx-config commands from the terminal directly into the compiler and linker flags That also works, of course, but it's not as easy to keep updated e.g. when you change wx versions or builds. instead of using 'wx-config --cxxflags' I expect you realise, but that should be `wx-config --cxxf...
by DavidHart
Fri Aug 23, 2019 2:53 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 328

Re: Certain methods not working under Linux Mint

I added the full path to wx-config to my compiler and linker flags Yes, but which path. You have 2 wx installations. The wx3.1.2 one is probably in /usr/local/. The reason why the sample doesn't build might be because it's a wx3.1.2 sample, configured for wx3.1.2, but you are trying to compile it w...
by DavidHart
Fri Aug 23, 2019 1:46 pm
Forum: Platform Related Issues
Topic: Certain methods not working under Linux Mint
Replies: 21
Views: 328

Re: Certain methods not working under Linux Mint

I installed the library according to the instructions in: https://wiki.wxwidgets.org/Compiling_an ... ng_started If your configure line included: --prefix=`pwd` (or --prefix=/home/username/sdks/wx312/gtk-build) then (afaik; I don't use C::B) you need to change your Compiler and Linker settings from...