Search found 80 matches

by Anil8753
Thu Oct 27, 2016 9:39 am
Forum: Platform Related Issues
Topic: popup wxPopupTransientWindow with wxDialog as parent on Mac
Replies: 3
Views: 770

popup wxPopupTransientWindow with wxDialog as parent on Mac

I have a modal wxDialogBox with a push button. On click on this push button, I am launching a wxPopupTransientWindow . This wxPopupTransientWindow has some controls like wxTextCtrl and wxButton. This is working perfectly under MSW, on Mac on button click wxPopupTransientWindow is get popups but wxPo...
by Anil8753
Thu Oct 27, 2016 9:30 am
Forum: C++ Development
Topic: Get wxMenu popup width
Replies: 4
Views: 662

Re: Get wxMenu popup width

I want to popup menu on click of a button. You can say just like split button
by Anil8753
Mon Oct 17, 2016 2:44 pm
Forum: C++ Development
Topic: Get wxMenu popup width
Replies: 4
Views: 662

Get wxMenu popup width

Is there any way to get wxMenu popup width? I want to calculate the wxMenu popup width before calling PopupMenu() API. Using the width I want to calculate the popup menu position.
by Anil8753
Sat Sep 17, 2016 8:14 am
Forum: C++ Development
Topic: Android App like Tour implementation in wxWidgets C++
Replies: 2
Views: 690

Android App like Tour implementation in wxWidgets C++

I want to implement tour slides very similar to android app tour. [img] download.png [/img] Requirement: 1. Semi-transparent popup window on top of Frame window of my application. 2. Fully visible child controls (wxStaticText, wxButton, Drawing Lines on transparent parent) I tried SetTransparent(), ...
by Anil8753
Thu Aug 25, 2016 11:53 am
Forum: C++ Development
Topic: Row selection in wxDataViewCtrl is based on index basis
Replies: 23
Views: 2999

Re: Row selection in wxDataViewCtrl is based on index basis

What about this: Bind(wxEVT_DATAVIEW_SELECTION_CHANGED, [=](wxDataViewEvent& evt){ GetSelections(m_selections); evt.Skip(); }); Bind(wxEVT_IDLE, [=](wxIdleEvent& evt){ SetSelections(m_selections); evt.Skip(); }); I am assuming that wxIdleEvent will be fired always in any update in the wxDataViewCtl ...
by Anil8753
Thu Aug 25, 2016 6:47 am
Forum: C++ Development
Topic: Row selection in wxDataViewCtrl is based on index basis
Replies: 23
Views: 2999

Re: Row selection in wxDataViewCtrl is based on index basis

Did we found any workaround for this issue with modifying wxWidgets.
This issue happening in any case that causes the change in position of item in the list.
E.g. Sorting, Adding a new item, Deleting, Updating a item.
by Anil8753
Thu Jun 23, 2016 7:07 am
Forum: C++ Development
Topic: Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac
Replies: 1
Views: 312

Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac

Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac, whereas other drawings (DrawCheckBox, DrawRadioBitmap) are perfect. In the attached screen shot, 4 buttons are there. Hold : wxButton Process and Hold : wxRendererNative::Get().DrawPushButton() checkbox : wxRendererNative::Get()...
by Anil8753
Tue Jun 21, 2016 10:27 am
Forum: Platform Related Issues
Topic: set Font generic wxDataViewCtrl on Mac
Replies: 1
Views: 707

Re: set Font generic wxDataViewCtrl on Mac

Yeah, It was very simple. wxDataViewCtrl is a composite control (wxDataViewHeaderWindow and wxDataViewMainWindow).

Both wxDataViewHeaderWindow and wxDataViewMainWindow uses the font of its parent. wxDataViewCtrl in this case.
Just I need to use wxDataViewCtrl::SetFont() and things work.
by Anil8753
Tue Jun 21, 2016 10:09 am
Forum: Platform Related Issues
Topic: Generic wxDataViewCtrl Header height is not proper on Mac
Replies: 1
Views: 689

Re: Generic wxDataViewCtrl Header height is not proper on Mac

Found a way to solve this issue. wxRendererNative has the following virtual function // Returns the default height of a header button, either a fixed platform // height if available, or a generic height based on the window's font. virtual int GetHeaderButtonHeight(wxWindow *win) = 0; As I am using t...
by Anil8753
Fri Jun 17, 2016 3:44 am
Forum: Platform Related Issues
Topic: Strange behaviour of wxDataViewCtrl on Mac
Replies: 7
Views: 1284

Re: Strange behaviour of wxDataViewCtrl on Mac

In one place of my application, I am using huge customisation (full colourful drawing) in wxDataViewCtrl via custom renderers . Initially I develop on Windows, and when I tried the native implementation on Mac, things went horrible. I found issues like: 1. Few functions are not available in native i...
by Anil8753
Thu Jun 16, 2016 11:56 am
Forum: Platform Related Issues
Topic: Strange behaviour of wxDataViewCtrl on Mac
Replies: 7
Views: 1284

Re: Strange behaviour of wxDataViewCtrl on Mac

I tried with wx3.1 on the same 10.11, I am not facing that much distortion. But still it has issue with paint. Whenever I click on a header, all the header left to clicked header, text goes blur. If click 4 to 5 times, leads to kind of unreadable header text. Please check the screen shot attached. S...
by Anil8753
Thu Jun 16, 2016 11:18 am
Forum: Platform Related Issues
Topic: set Font generic wxDataViewCtrl on Mac
Replies: 1
Views: 707

set Font generic wxDataViewCtrl on Mac

Default font size in generic wxDataViewCtrl does not look good. Row and Header height is less to accommodate rendered text height. Off course SetRowHeight() function is available, we can increase the row height, but big text does not look good. Is there any way to set the font size in generic wxData...
by Anil8753
Thu Jun 16, 2016 11:09 am
Forum: Platform Related Issues
Topic: Generic wxDataViewCtrl Header height is not proper on Mac
Replies: 1
Views: 689

Generic wxDataViewCtrl Header height is not proper on Mac

I am using generic wxDataViewCtrl on Mac. wxDataViewCtrl Header height is not proper on Mac. It is very less, Please check the screen shot. Is there any way to increase the height? I tried to get HeaderWindow and tried to set SetSize(-1, 40). It is not honoured. code snippet to get header window: wx...
by Anil8753
Wed Jun 08, 2016 3:42 am
Forum: C++ Development
Topic: Row selection in wxDataViewCtrl is based on index basis
Replies: 23
Views: 2999

Re: Row selection in wxDataViewCtrl is based on index basis

iwbnwif,
What should be the action item, I feel it is a bug.
by Anil8753
Tue Jun 07, 2016 5:55 pm
Forum: C++ Development
Topic: Row selection in wxDataViewCtrl is based on index basis
Replies: 23
Views: 2999

Re: Row selection in wxDataViewCtrl is based on index basis

As a end user behaviour must be same, whether it is generic implementation of wxDataViewCtrl/wxDataViewListCtrl or native one. It should be same as standard list control.