Search found 57 matches

by nandakishore
Thu Mar 09, 2017 10:51 am
Forum: C++ Development
Topic: How to get the type of grid cell renderer ?
Replies: 6
Views: 706

Re: How to get the type of grid cell renderer ?

I can differentiate the renderers by setting setclientdata() like below in wxGridCellButtonRenderered and wxGridCellChoiceRenderer SetClientData("Button Renderer"); SetClientData("Combo Renderer"); in EVT_GRID_CELL_LEFT_CLICK event function i can get the clientdata and get the task done char* render...
by nandakishore
Thu Mar 09, 2017 9:42 am
Forum: C++ Development
Topic: How to get the type of grid cell renderer ?
Replies: 6
Views: 706

Re: How to get the type of grid cell renderer ?

If this information is not easily available, it's a good indicator that you're doing something wrong or at least unusual. For what purpose do you need this information in a click event handler? I fill gird cells with combo box renderer and button renderer randomly so i need to know what kind of ren...
by nandakishore
Sat Mar 04, 2017 2:47 pm
Forum: C++ Development
Topic: wxWidgets 2.8 will support in Windows 10 Version?
Replies: 8
Views: 730

Re: wxWidgets 2.8 will support in Windows 10 Version?

Hi ONEEYEMAN,
I have upgraded my app to 3.1 but still i get this issue.
wxFileDialog is not opening the given path, Its opening the Desktop .

Please Help.
by nandakishore
Thu Mar 02, 2017 10:22 am
Forum: C++ Development
Topic: How to get the control which is under mouse pointer?
Replies: 1
Views: 289

Re: How to get the control which is under mouse pointer?

wxFindWindowAtPointer(mouseposition) will help
by nandakishore
Thu Mar 02, 2017 10:10 am
Forum: C++ Development
Topic: How to get the control which is under mouse pointer?
Replies: 1
Views: 289

How to get the control which is under mouse pointer?

Hi,

Is there a way to get the control which is under mouse pointer.?

Thanks,
by nandakishore
Fri Feb 24, 2017 2:44 pm
Forum: C++ Development
Topic: How to get the type of grid cell renderer ?
Replies: 6
Views: 706

Re: How to get the type of grid cell renderer ?

I have already tried this But no use.
when we query the grid like GetCellRenderer() it will give the renderer
then from the renderer there is no function called IsKindOf.
by nandakishore
Fri Feb 24, 2017 1:02 pm
Forum: C++ Development
Topic: How to get the type of grid cell renderer ?
Replies: 6
Views: 706

How to get the type of grid cell renderer ?

I have loaded few wxGrid cells with wxGridCellChoiceRenderer and wxGridCellBoolRenderer randomly.
I click on any cell which may have renderers or empty cells. So in EVT_GRID_CELL_LEFT_CLICK event how to know that
that cell have the renderer and which type of renderer it is?
by nandakishore
Fri Feb 10, 2017 7:47 am
Forum: C++ Development
Topic: wxWidgets 2.8 will support in Windows 10 Version?
Replies: 8
Views: 730

Re: wxWidgets 2.8 will support in Windows 10 Version?

No,
Actually we didn't upgrade one of our application which is in older version (wx 2.8).
but we want to use this in win 10.

And i'm facing issues in win 10 with wx 2.8 version.
The issues is with wxFileDialog. It is not opening the given location, it is opening the desktop as default.
by nandakishore
Thu Feb 09, 2017 3:36 pm
Forum: C++ Development
Topic: wxWidgets 2.8 will support in Windows 10 Version?
Replies: 8
Views: 730

wxWidgets 2.8 will support in Windows 10 Version?

Hi,
I'm writing my application in Windows 10 with wxWidgets 2.8 version.
Will i face any consequences if i proceed ?

Thanks,
by nandakishore
Tue Feb 07, 2017 10:13 am
Forum: C++ Development
Topic: Close Button is not appeared in wxMiniFrame
Replies: 1
Views: 667

Re: Close Button is not appeared in wxMiniFrame

pass wxsystem_menu as style flag
by nandakishore
Tue Feb 07, 2017 6:18 am
Forum: C++ Development
Topic: WxFileDialog Memory leak
Replies: 5
Views: 395

Re: WxFileDialog Memory leak

But, Insure ++ showing that there is a leak at below line.
"if ( dialog.ShowModal() != wxID_OK )"
by nandakishore
Mon Feb 06, 2017 3:28 pm
Forum: C++ Development
Topic: WxFileDialog Memory leak
Replies: 5
Views: 395

Re: WxFileDialog Memory leak

doublemax wrote:If a dialog is created on the stack, you don't have to delete it. Also, don't call Destroy. The memory leak is most likely a false positive.
Stack?. how to create on stack?
by nandakishore
Mon Feb 06, 2017 2:29 pm
Forum: C++ Development
Topic: WxFileDialog Memory leak
Replies: 5
Views: 395

WxFileDialog Memory leak

Hi, In my application i created a wxFileDialog like below. wxFileDialog dialog ( _frameParent , "Save As:" , lastExportDir , "" , FileType,wxSAVE ); dialog.SetFilterIndex ( lastExportFilter ); if ( dialog.ShowModal() != wxID_OK ) { dialog.Destroy(); return; } I didn't delete the object since i was t...
by nandakishore
Tue Jan 31, 2017 9:57 am
Forum: C++ Development
Topic: Memory Leaks in wxImageList and wxBoxSizer
Replies: 4
Views: 454

Re: Memory Leaks in wxImageList and wxBoxSizer

Yes,
I have set my MainSizer(wxBoxsizer) finally to the wxWindow but i have other sizer(wxBoxSizer) declared for alignment process
and they to will be added to the Mainsizer.

In this case do i need delete it by myself?
by nandakishore
Tue Jan 31, 2017 9:25 am
Forum: C++ Development
Topic: Memory Leaks in wxImageList and wxBoxSizer
Replies: 4
Views: 454

Memory Leaks in wxImageList and wxBoxSizer

Hi, In my application i created wxImageList and wxBoxsizer with new operator like below. wxImageList* pstatImglstDropDown = new wxImageList(20, 20, true, 3); pstatImglstDropDown->Add(zoomindropdown); pstatImglstDropDown->Add(zoomoutdropdown); pstatImglstDropDown->Add(zoomcircdropdown); wxBoxSizer *s...