Search found 80 matches

by Anil8753
Mon Apr 02, 2018 7:17 am
Forum: C++ Development
Topic: wxDataViewListCtrl performance issues + crashes
Replies: 6
Views: 579

Re: wxDataViewListCtrl performance issues + crashes

I could not understand your issue completely. I am not sure about crashes but performance issues can be solved. I am using wxDataViewCtrl with more than ~10K rows and 200 columns. Remember one thing, if wxDVC has sorting applied to any column and you add/delete/update any row, causes the resorting a...
by Anil8753
Fri Mar 30, 2018 4:57 pm
Forum: C++ Development
Topic: wxObject causing memory leaks
Replies: 10
Views: 1588

Re: wxObject causing memory leaks

I am using wx3.0 in mine application. Recently I ported the application to the 64-bit. Now, this is causing thousands of memory leaks. 32-bit version works without any leak whereas leaks happening in only 64 bit. Few leaks example: #-o Detected memory leaks! Dumping objects -> {5159542} normal block...
by Anil8753
Tue Dec 19, 2017 6:35 am
Forum: C++ Development
Topic: Ignore INET_E_INVALID_CERTIFICATE error wxWebView
Replies: 2
Views: 453

Ignore INET_E_INVALID_CERTIFICATE error wxWebView

I have https intranet URL that I want to display in wxWebView. In the browser, if I try to navigate this https url a warning page like https://stackoverflow.com/questions/6933254/webbrowser-control-ignore-ssl-errors comes. In this warning page, I can opt for proceed to navigate the page and I can vi...
by Anil8753
Thu Sep 07, 2017 8:55 am
Forum: C++ Development
Topic: wxDataViewCtrl rearrange columns programmatically
Replies: 1
Views: 277

wxDataViewCtrl rearrange columns programmatically

Hi,
We can rearrange the columns by dragging and dropping to the desired position.
Same thing I need to achieve via source code. Like : wxDataViewCtrl::Move(const wxDataViewColumn* pColumn, int pos)

I am using generic wxDataViewCtrl.
by Anil8753
Thu Aug 17, 2017 9:54 am
Forum: C++ Development
Topic: wxDataViewCtrl how to Hide the RootItem
Replies: 5
Views: 721

Re: wxDataViewCtrl how to Hide the RootItem

It is possible, make the root item null. Find the wxDataViewCtrl sample and check the list view implementation of wxDataViewCtrl.

https://github.com/wxWidgets/wxWidgets/ ... s/dataview
by Anil8753
Fri Jul 21, 2017 9:14 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 673

Re: wxWidgets 3.0 on Mac 10.13 crashing

Issue got fixed automatically in Latest MAC 10.13 Beta 17A306f .
by Anil8753
Wed Jul 19, 2017 3:37 am
Forum: C++ Development
Topic: WxDataViewListCtrl not sorting by column
Replies: 4
Views: 1549

Re: WxDataViewListCtrl not sorting by column

After adding your items in wxDataViewCtrl call the following:

Code: Select all

wxDataViewCtrl::GetModel()->Resort();
by Anil8753
Wed Jul 12, 2017 10:06 am
Forum: Platform Related Issues
Topic: SetLabel() on wxBitmapButton does not work as expected
Replies: 2
Views: 678

Re: SetLabel() on wxBitmapButton does not work as expected

try it const wxBitmap bmpNormal = ...; const wxBitmap bmpSelected = ...; wxButton* pBtn = new wxButton(this, wxID_ANY, wxEmptyString, wxDefaultPosition, bmpNormal.GetSize(), wxTRANSPARENT_WINDOW | wxBORDER_NONE); pBtn->SetLabelText("YOUR LABEL"); pBtn->SetBitmap(bmpNormal); pBtn->SetBitmapHover(bmpS...
by Anil8753
Tue Jul 11, 2017 7:06 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 673

Re: wxWidgets 3.0 on Mac 10.13 crashing

I build wxWidgets myself output as a dynamic library using XCode7.2. On close of any wxDialog, it is either hangs or crashes
by Anil8753
Mon Jul 10, 2017 11:07 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 673

wxWidgets 3.0 on Mac 10.13 crashing

I am trying my application on macOS High Sierra (version 10.13 Beta 17A291m). Application crashes when I launch a wxDialog and close. On close it crash in wxGUIEventLoop::OSXDoRun() function in evtloop.mm (line# 301). I have no clue whether it is wxWidgets issue or Mac10.13 issue. The application wo...
by Anil8753
Tue Jul 04, 2017 11:58 am
Forum: C++ Development
Topic: Which control for huge changing list ?
Replies: 10
Views: 1306

Re: Which control for huge changing list ?

wxDataViewCtrl, I found it is a nice control for this kind of requirement. Additional it provides the inline editing as well, of course, you do not need it. Provide the flexibility to customise the look and feel by custom renderers. It's nice indeed but only if he is going to limit data and page th...
by Anil8753
Tue Jul 04, 2017 8:57 am
Forum: C++ Development
Topic: Widget like Windows Explorer in Icon Mode
Replies: 9
Views: 1235

Re: Widget like Windows Explorer in Icon Mode

probably have a look on https://github.com/Anil8753/wxThumbnailCtrl

wxListCtrl can also be used if you have lesser number of items. If you have items in thousands, I would say it is worth to check wxThumbnailCtrl once.
by Anil8753
Tue Jul 04, 2017 7:29 am
Forum: C++ Development
Topic: Which control for huge changing list ?
Replies: 10
Views: 1306

Re: Which control for huge changing list ?

wxDataViewCtrl, I found it is a nice control for this kind of requirement. Additional it provides the inline editing as well, of course, you do not need it.
Provide the flexibility to customise the look and feel by custom renderers.
by Anil8753
Tue Jul 04, 2017 5:17 am
Forum: C++ Development
Topic: Setting the background color in wxChoice
Replies: 5
Views: 880

Re: Setting the background color in wxChoice

I feel there is no direct API to do it. But you can use the following trick implement the desire behaviour. #include <wx/artprov.h> m_pSizer = new wxBoxSizer(wxHORIZONTAL); wxChoice* pChoice = new wxChoice(this, wxID_ANY); pChoice->AppendString("One"); pChoice->AppendString("Two"); pChoice->AppendSt...
by Anil8753
Mon Jul 03, 2017 11:50 am
Forum: Component Writing
Topic: Efficient way of display thumbnails
Replies: 16
Views: 5618

Re: Efficient way of display thumbnails

Yeah, I achieved it. Now I can display more 10K thumbnails without any performance issue. using it, I implemented exactly Windows Explorer like control. It works like charm.

You may find the source @github
https://github.com/Anil8753/wxThumbnailCtrl