Search found 3818 matches

by DavidHart
Sun Oct 20, 2019 7:27 pm
Forum: Platform Related Issues
Topic: Symbol is not found
Replies: 3
Views: 77

Re: Symbol is not found

Fair enough. In that case this is outside my experience.

However googling for 'linux "undefined symbol" runtime' results in lots of hits e.g. this, and this (do you define a StyleBar in your program?). If those two don't help you, there are lots of others.
by DavidHart
Sun Oct 20, 2019 9:24 am
Forum: Platform Related Issues
Topic: Symbol is not found
Replies: 3
Views: 77

Re: Symbol is not found

Hi, I just tried to add a new dynamic library (.so) to my project. I presume that, by 'dynamic', you mean a non-static library, not one dynamically loaded by dlopen(). If so, then your problem is almost certainly caused by /usr/local/lib64 not being in your runtime library search path. You can prove...
by DavidHart
Thu Oct 17, 2019 1:18 pm
Forum: Platform Related Issues
Topic: wxEVT_SET_FOCUS on Linux
Replies: 6
Views: 124

Re: wxEVT_SET_FOCUS on Linux

If I switch the focus, clicking on the MainFrame and the NewFrame, the OnSetFocus1 runs! Good. The solution is not perfect because it runs three times when I click on NewFrame, and also when I click on the MainFrame I don't know why 3 times, but you can reduce the amount of spam by testing event->G...
by DavidHart
Thu Oct 17, 2019 10:53 am
Forum: Platform Related Issues
Topic: wxEVT_SET_FOCUS on Linux
Replies: 6
Views: 124

Re: wxEVT_SET_FOCUS on Linux

use Bind for the main panel and for a button. The first, the most important for me, doesn't work You mean that the button Bind() does? That, or the textctrl, is what I'd expect to have focus. If you really must use the panel, you could try wxPanel::SetFocusIgnoringChildren. But you should probably ...
by DavidHart
Wed Oct 16, 2019 11:42 am
Forum: Platform Related Issues
Topic: wxEVT_SET_FOCUS on Linux
Replies: 6
Views: 124

Re: wxEVT_SET_FOCUS on Linux

Hi, There are two possible issues here: 1) Focus events are not derived from wxCommandEvent, and so do not propagate to parent controls; at least they aren't supposed to, though nobody seems to have told Windows... So if there are child controls in NewFrame, any focus events they get will not be see...
by DavidHart
Sat Oct 05, 2019 8:37 pm
Forum: Platform Related Issues
Topic: GTK3, wxSearchCtrl border size/offset in toolbar
Replies: 3
Views: 100

Re: GTK3, wxSearchCtrl border size/offset in toolbar

Hi, It's very likely to be a gtk+3 bug; there've been a lot of them. I just tested your minimal diff on a gtk+3 build of git HEAD and get the same result as you. It seems to be toolbar-specific: the same code added to a sizer in the normal way behaved as expected. wxSizer* sizer = new wxBoxSizer(wxH...
by DavidHart
Sat Oct 05, 2019 1:03 pm
Forum: Platform Related Issues
Topic: GTK3 / wxStaticText size
Replies: 3
Views: 74

Re: GTK3 / wxStaticText size

Hi, As you say, this sounds very similar to https://trac.wxwidgets.org/ticket/17585 . Did you test using the 'minimal' patch from comment 3 ? I'm using the default GTK 3.22 that comes with Ubuntu 18.04 LTS With which DE, and on X11 or Wayland? but I figures out that the fix was not ported back to th...
by DavidHart
Thu Oct 03, 2019 10:25 am
Forum: C++ Development
Topic: Custom event question in doc
Replies: 4
Views: 79

Re: Custom event question in doc

See this wxWiki page (or the wx source code, of course).
by DavidHart
Sat Sep 14, 2019 12:39 pm
Forum: General Development
Topic: can not create ticket on trac.wxwidgets.org
Replies: 4
Views: 541

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: 541

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: 426

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: 91

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: 125

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: 125

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: 421

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.