Search found 16 matches

by Remdul
Fri Feb 24, 2023 1:54 pm
Forum: General Development
Topic: wxMaskedEdit gone missing?
Replies: 3
Views: 6104

Re: wxMaskedEdit gone missing?

Thanks, that explains things.

Not sure why DuckDuckGo/GitHub has such trouble finding anything though, maybe because "wxMaskedEdit" is never explicitly mentioned in full in the commits.
by Remdul
Sun Feb 19, 2023 3:51 pm
Forum: General Development
Topic: wxMaskedEdit gone missing?
Replies: 3
Views: 6104

wxMaskedEdit gone missing?

I just came across a handful of mentions of a widget named "wxMaskedEdit", it was seemingly externally developed by a contributer and later adopted into wx 2.9.x, according to a blog post on the wxWidgets website. There also was a header "wx/generic/maskededit.h" according to som...
by Remdul
Wed Jul 07, 2021 9:40 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

Yes, but I'd rather have it working in my application as well. Unfortunately it's easy to get bogged down by undefined behaviour with wxWidgets. I know it's usually related to lower level API (Win32/GTK/X11) and not directly wxWidgets fault, but it's really frustrating and time consuming to make eve...
by Remdul
Wed Jul 07, 2021 6:53 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

I should also try the wx sample program by the way!
by Remdul
Wed Jul 07, 2021 6:43 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

Hmm, that's interesting (I'm also using Mint Cinnamon 19 by the way, which has some minor GTK/Gnome/GTK related quirks here and there). I have something working now, using a workaround. I've set the style to wxTR_MULTIPLE instead of wxTR_SINGLE. This prevents one tree item being selected all the tim...
by Remdul
Wed Jul 07, 2021 6:22 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

No, the problem is that it is not possible to de-select tree item(s) at all. There's always one tree item selected at all times. So right-clicking always invokes the tree item context event because there's always at least one tree item selected. This makes it impossible to implement a generic contex...
by Remdul
Wed Jul 07, 2021 5:33 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

I'm still trying to figure that out. But for sure, it's non-intuitive if you just want to implement a simple context menu that's not tied to the currently selected tree item.

I'll post it here if I get it working somehow.
by Remdul
Wed Jul 07, 2021 3:40 pm
Forum: Platform Related Issues
Topic: wxTreeCtrl and right click events
Replies: 10
Views: 8262

Re: wxTreeCtrl and right click events

Resurrecting this ancient thread: seems this is still an issue in wxWidgets 3.0.x anno 2021 on Linux/GTK. EVT_TREE_SEL_CHANGED = works only when clicking on items EVT_TREE_ITEM_MENU = works only when clicking on items EVT_CONTEXT_MENU = nothing [s]EVT_RIGHT_DOWN = nothing[/s]* [s]EVT_RIGHT_UP = noth...
by Remdul
Wed Jul 07, 2021 3:34 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 58
Views: 127433

Re: Error "The submitted form was invalid"

I also had this issue, after loging in an hour ago after some months (years) since last login (with same system/browser because it remembered my login settings).

I fixed it by clearing my browser cookies for forums.wxwidgets.org !

I think this may be a phpBB3 issue with cookies settings.
by Remdul
Tue May 05, 2020 8:16 pm
Forum: The Code Dump
Topic: v-sync and wxGLCanvas
Replies: 0
Views: 27427

v-sync and wxGLCanvas

I was trying to add this to the wxWiki, but my edits keep getting flagged as spam (new wiki account). If someone could add this to the wiki page for me (below section titled "Animation Flicker"), that would be swell. :) https://wiki.wxwidgets.org/WxGLCanvas **code removed** *Edit: was able...
by Remdul
Fri May 06, 2016 10:10 pm
Forum: C++ Development
Topic: Non-blocking (Popup)menu possible?
Replies: 9
Views: 4101

Re: Non-blocking (Popup)menu possible?

Thanks doublemax, didn't know about that one yet, I will experiment with it and post the results here. It is kinda weird though that something as simple as showing a menu blocks things, while other more complex controls don't. @ONEEYEMAN: I try to avoid threads at all cost, I've found they are rarel...
by Remdul
Thu Apr 28, 2016 1:52 pm
Forum: C++ Development
Topic: Non-blocking (Popup)menu possible?
Replies: 9
Views: 4101

Non-blocking (Popup)menu possible?

I currently implement a context menu (wxMenu) with Popupmenu(), but that is a blocking function. It halts execution of the rest of the application. This is a problem for me, because the application is running a real-time simulation which should continue in the background regardless of UI events. Thi...
by Remdul
Thu Feb 14, 2013 3:12 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSpinCtrlDouble undefined
Replies: 1
Views: 1141

wxSpinCtrlDouble undefined

I'm wondering why wxSpinCtrlDouble is undefined for me, even though I #include "wx/spinctrl.h". wxSpinCtrl is also undefined, however I'm using wxPGEditor_SpinCtrl without problems in a wxPropertyGrid. I'm confused. I'm using wxWidgets2.9.4 on Linux Mint (~=Ubuntu), with the below configur...
by Remdul
Thu Oct 29, 2009 3:32 pm
Forum: C++ Development
Topic: wxEXPAND wxTreeCtrl horizontally & vertically
Replies: 4
Views: 2068

What I meant is that there's no 3-argument variation listed. Now, I'll assume that the remaining arguments are optional, but I find that sort of thing rather confusing, as evident.
by Remdul
Wed Oct 28, 2009 8:16 pm
Forum: C++ Development
Topic: wxEXPAND wxTreeCtrl horizontally & vertically
Replies: 4
Views: 2068

Thanks, that did it. :)

This variation of wxSpacer::Add() Does not appear to be documented though. Usually intellisense (MSVC) gets me on the right track, but often it dies parsing the wx headers...