Search found 281 matches

by Widgets
Mon Jan 29, 2018 5:04 pm
Forum: C++ Development
Topic: wxDebugReport [SOLVED]
Replies: 5
Views: 125

Re: wxDebugReport [SOLVED]

For both the sample code and this part of my app. I am using the code as presented in the sample, i.e. wxExecute (... ). From what I have learned so far, and because I am already using libcurl for other e-mail feedback in the same app, I have decided to go the e-mail route. I raised the issue here, ...
by Widgets
Sun Jan 28, 2018 7:18 pm
Forum: C++ Development
Topic: wxDebugReport [SOLVED]
Replies: 5
Views: 125

Re: wxDebugReport [SOLVED]

Edit: After more debugging today, I have found that there is log output to my application's log window, but since creating the crash report terminates the application, I never realized it appeared at all. Still, the upload did not happen, even though the code path I now end up tracking through seems...
by Widgets
Sat Jan 27, 2018 10:00 pm
Forum: C++ Development
Topic: wxDebugReport [SOLVED]
Replies: 5
Views: 125

wxDebugReport [SOLVED]

I am trying to debug the crash reporting code using the sample debugrpt - Win 10, 64-bit, MSVC 2015, using the MSVC 2010 tool chain and wxWidgets libs compiled with MSVC 2010, wxWidgets 3.1.0 multi-lib static compile. Curl is on the path and my local HTTP server has been specified as the target, usi...
by Widgets
Sat Jan 20, 2018 1:00 am
Forum: C++ Development
Topic: wxGrid - retrieve all cell combo box values [SOLVED]
Replies: 8
Views: 114

Re: wxGrid - retrieve all cell combo box values [SOLVED]

Thank you very much for clarifying this issue. It was this same conclusion I came to and asked the question to confirm my findings. However, deriving my own class just for this seems way too much work :-) Instead, I am now simply saving the necessary data outside of the list at the same time I am cr...
by Widgets
Fri Jan 19, 2018 11:28 pm
Forum: C++ Development
Topic: wxGrid - retrieve all cell combo box values [SOLVED]
Replies: 8
Views: 114

Re: wxGrid - retrieve all cell combo box values [SOLVED]

What specifically are you pointing to? I have reviewed the documentation, but did not find what I needed. If you were referring to virtual wxString wxGridCellEditor::GetValue ( ) const Returns the value currently in the editor control. then it won't do what I need. I want all values, not just the cu...
by Widgets
Fri Jan 19, 2018 10:42 pm
Forum: C++ Development
Topic: wxGrid - retrieve all cell combo box values [SOLVED]
Replies: 8
Views: 114

Re: wxGrid - retrieve all cell combo box values [SOLVED]

ONEEYEMAN wrote:Or you could just retrieve the combo box and add/remove the values as you can see fit.

Well, retrieving the values from the combo box would be the preferred way, if I could figure out how to get them all .
That's the reason for my question :oops:
by Widgets
Fri Jan 19, 2018 10:16 pm
Forum: C++ Development
Topic: wxGrid - retrieve all cell combo box values [SOLVED]
Replies: 8
Views: 114

Re: wxGrid - retrieve all cell combo box values [SOLVED]

The current values are saved in a preferences file, but I want the user to be able to add to or modify values as he sees fit to meet his needs.
The values will be used to identify/label some data to be saved in DB
by Widgets
Fri Jan 19, 2018 9:42 pm
Forum: C++ Development
Topic: wxGrid - retrieve all cell combo box values [SOLVED]
Replies: 8
Views: 114

wxGrid - retrieve all cell combo box values [SOLVED]

I know I can retrieve the currently selected value of such a combo box, but I cannot find an example of the full list being recovered. Is it possible to retrieve, at some later time and in a different function/event handler, all the values assigned to a combo box cell with a statement such as m_grid...
by Widgets
Thu Jan 18, 2018 6:01 pm
Forum: C++ Development
Topic: wxDataviewListCtrl - change choice box contents [SOLVED]
Replies: 3
Views: 110

Re: wxDataviewListCtrl - change choice box contents [SOLVED]

wxDataViewCtrl is designed so a type of value (text, bitmap, etc) is associated with a column for all rows. To have different behaviour for each row is hard. First you need your own wxDataViewModel and your own wxDataViewCustomRenderer . Thank you. Manolo. For this time and this project, adapting t...
by Widgets
Wed Jan 17, 2018 6:12 pm
Forum: C++ Development
Topic: wxDataviewListCtrl - change choice box contents [SOLVED]
Replies: 3
Views: 110

wxDataviewListCtrl - change choice box contents [SOLVED]

I'm trying to use a data view list control with some rows of a column having a choice box. During the initial setup, when I set the column headings I add a choice box column without data. For most rows, this is just fine, but for some rows I would like to add a number of different choices - possibly...
by Widgets
Mon Jan 08, 2018 5:55 am
Forum: C++ Development
Topic: wxFileDialog & default directory
Replies: 9
Views: 670

Re: wxFileDialog & default directory

IIRC, it is important to make sure the path is terminated with either a forward or backward slash, otherwise the last component seems to be interpreted as a file name, rather than part of the path.
by Widgets
Mon Jan 08, 2018 4:22 am
Forum: C++ Development
Topic: wxFileDialog & default directory
Replies: 9
Views: 670

Re: wxFileDialog & default directory

All I have verified recently, is that it starts out in the expected directory. I would (almost) expect - though I have not verified - that if you then change directories once in the dialog, that the behavior might/would change, although I cannot quite imagine the scenario you describe. I would certa...
by Widgets
Mon Jan 08, 2018 3:02 am
Forum: C++ Development
Topic: wxFileDialog & default directory
Replies: 9
Views: 670

Re: wxFileDialog & default directory

It is a long time ago and I am hard pressed to recall just what I did to fix it, but .... My current code looks like this - and it seems to do the expected thing - ie start in the expected directory. bool MyFrame::GetFileFromUser( wxString &wsJobFile ) { wxString wsSourceDrive; wxString wsSource...
by Widgets
Tue Dec 05, 2017 10:25 pm
Forum: C++ Development
Topic: Tool bar button PNG issues [SOLVED]
Replies: 22
Views: 586

Re: Tool bar button PNG issues [SOLVED]

A bit more on removing the error messages: Finally found a GUI - PngGauntlet (PG) https://pnggauntlet.com / - which does seem to not only shrink the PNG files, but also removes the offending bits in the files. My current work flow is to make a copy - just-in-case - of each PNG, then drop them onto t...
by Widgets
Tue Dec 05, 2017 6:03 pm
Forum: C++ Development
Topic: Tool bar button PNG issues [SOLVED]
Replies: 22
Views: 586

Re: Tool bar button PNG issues [SOLVED]

Found this thread: https://openclassrooms.com/forum/sujet/libpng-warning-iccp-known-incorrect-srgb-profile. So, maybe you could succeed with imagemagick. Thank you, After a bit of experimenting, I found that Imagemagick mogrify does the job, though it also seems to make the edges of the image consi...

Go to advanced search