Search found 2127 matches

by evstevemd
Sat May 25, 2019 9:30 am
Forum: Announcements and Discoveries
Topic: wxCustomControls
Replies: 1
Views: 652

Re: wxCustomControls

Hi, I have developed a new control which I suspect some of you might find it interesting. Its a drop in replacement for wxTreeCtrl and wxDataViewListCtrl with columns support. You can get the code and read more here: https://github.com/eranif/wxCustomControls Great controls. But aren't they going t...
by evstevemd
Sat May 25, 2019 9:15 am
Forum: Announcements and Discoveries
Topic: [TUTORIAL]C++ wxWidgets application with wxPython and pybind11
Replies: 1
Views: 86

Re: [TUTORIAL]C++ wxWidgets application with wxPython and pybind11

Dunno French, but English would be better or at least text translation of what is happening for someone who's not french speaker like me to follow!
by evstevemd
Sat May 25, 2019 8:34 am
Forum: Announcements and Discoveries
Topic: CodeLite 13 Released
Replies: 0
Views: 16

CodeLite 13 Released

Great News that CL 13 was realeased.
Check What changed here or download it here

Am not CL Author nor part of dev team, just a happy CL user who is grateful of someone's effort.

Thanks to Eran Ifrah and the CL Team =D>
by evstevemd
Thu May 23, 2019 7:30 pm
Forum: C++ Development
Topic: Static drawing on wxPanel(?)
Replies: 5
Views: 65

Re: Static drawing on wxPanel(?)

check below link. It might give you a better idea
https://wiki.wxwidgets.org/An_image_panel
by evstevemd
Fri May 17, 2019 6:25 pm
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

doublemax wrote:
Fri May 17, 2019 12:02 pm
evstevemd wrote:
Fri May 17, 2019 11:45 am
doublemax wrote:
Fri May 17, 2019 11:07 am
Sorry, i have no idea what to do about this. Maybe it's just not possible with the OSX control.
Thank you for your help. Let me ask on the dev-list!
I think you should have mentioned that it doesn't work under OSX.
Noted, thank you!
by evstevemd
Fri May 17, 2019 11:45 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

doublemax wrote:
Fri May 17, 2019 11:07 am
Sorry, i have no idea what to do about this. Maybe it's just not possible with the OSX control.
Thank you for your help. Let me ask on the dev-list!
by evstevemd
Fri May 17, 2019 9:54 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

doublemax wrote:
Fri May 17, 2019 9:31 am
Try replacing

Code: Select all

m_ctrl[3]->GetMainWindow()->Bind(...)
with

Code: Select all

m_ctrl[3]->Bind(...)
You could also try to catch wxEVT_LEFT_DOWN instead of wxEVT_LEFT_UP.

And this only works on the 4th page of the sample, the wxDataViewTreeCtrl page.
All these don't emit any event at all
by evstevemd
Fri May 17, 2019 9:53 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

doublemax wrote:
Fri May 17, 2019 9:31 am
The OSX control probably isn't a composite control.
What does that mean? I have checked its code, it is difficult to follow Objective-C for me.
by evstevemd
Fri May 17, 2019 9:24 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

Actually none of the mouse event (left or right) is working
by evstevemd
Fri May 17, 2019 9:10 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

Try this (patch to the dataview sample): diff --git a/samples/dataview/dataview.cpp b/samples/dataview/dataview.cpp index 53a80d920d5e5ec02372e806aef982d948d75f6a..ebe87c1f9ed7eba554f89d2035d361acbe18a1ba 100644 --- a/samples/dataview/dataview.cpp +++ b/samples/dataview/dataview.cpp @@ -156,6 +156,...
by evstevemd
Thu May 16, 2019 11:56 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

So you are using a single-selection control? I don't really see how it makes sense to have an item "active" but not selected. What's the difference in behavior when the item is active in comparison to being selected? Well it is multiselect. May be I have tried too much and lost a sight of simple th...
by evstevemd
Thu May 16, 2019 11:08 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

Re: wxDataViewTreeCtrl remove selection but retain item focus

Hi DM, wxDataViewCtrl::SetCurrentItem https://docs.wxwidgets.org/trunk/classwx_data_view_ctrl.html#a4cc4e7a506afcb1b646927bd91727ac6 It has some limitations though as mentioned in the docs. I have tried but it emits SELECTION_CHANGED event so it keeps the loop endless, that is Handler --> SetCurrent...
by evstevemd
Thu May 16, 2019 7:28 am
Forum: C++ Development
Topic: wxDataViewTreeCtrl remove selection but retain item focus
Replies: 16
Views: 178

wxDataViewTreeCtrl remove selection but retain item focus

Hi, I have this nagging problem where I need to unselect item but still retain focus to show that it is the "current" item. I can use Unselect and does what I want except it does not retain item focus. I have checked documentation, I cannot find similar thing. All I want is to be able to select same...
by evstevemd
Thu May 16, 2019 4:43 am
Forum: C++ Development
Topic: Thread deletion - where?
Replies: 5
Views: 96

Re: Thread deletion - where?

is m_db shared between threads
by evstevemd
Thu May 16, 2019 4:40 am
Forum: C++ Development
Topic: Do wxDataviewCtrl support bottom scrollbars?
Replies: 12
Views: 2575

Re: Do wxDataviewCtrl support bottom scrollbars?

May be I should read more but If you have an idea as to what I can try it will be even greater! For a start, i'd try with just an empty size event handler. If the column is not forced into the available space, maybe that's enough to make the scrollbar appear. Today I got a chance to have a look at ...