Search found 534 matches

by Widgets
Tue Aug 02, 2022 5:26 pm
Forum: Database Related
Topic: wxSqlite3 & secondary thread
Replies: 8
Views: 8108

Re: wxSqlite3 & secondary thread

However, you should open a separate database connection for your main thread and your secondary thread. My apologies for being so 'dense'. As far as I can see, the only function that seems to fit here, is Open(). Does that imply that I do pass the db file name to the secondary thread, in it, open t...
by Widgets
Mon Aug 01, 2022 8:58 pm
Forum: Database Related
Topic: wxSqlite3 & secondary thread
Replies: 8
Views: 8108

Re: wxSqlite3 & secondary thread

My apologies for not being clear enough. I also need to access the data in the DB from the main GUI thread. And if at all possible, while the secondary thread is still loading/updating some of the information. IOW, at least at some times, I need a db object in both threads, although there is the opt...
by Widgets
Mon Aug 01, 2022 4:28 pm
Forum: Database Related
Topic: wxSqlite3 & secondary thread
Replies: 8
Views: 8108

wxSqlite3 & secondary thread

One of my apps uses wxSqlite3 to record data imported from an XML file; right now, the DB is created and populated from the main thread, but I want to move that job into a secondary thread. Searching this forum, I have found this topic https://forums.wxwidgets.org/viewtopic.php?t=46048, but it does ...
by Widgets
Mon Jun 27, 2022 6:24 pm
Forum: Compiler / Linking / IDE Related
Topic: Stepping into wxWidgets code using Codelite
Replies: 2
Views: 813

Re: Stepping into wxWidgets code using Codelite

Thank you, David After a bit of reflection and a rebuild, I was able to step into the wxWidgets source code, thanks to the compiler & linker flags you gave. If I had tried to get to the Codelite forum from the Codelite GUI, I would have ended up in the proper place, but Google sent me off to som...
by Widgets
Sun Jun 26, 2022 7:46 pm
Forum: Compiler / Linking / IDE Related
Topic: Stepping into wxWidgets code using Codelite
Replies: 2
Views: 813

Stepping into wxWidgets code using Codelite

Not sure whether this is a good place to ask, but ... As I am trying to wean myself off Windows, I would like to use Codelite under Mint (latest Mint 20.3 & wxWidgets 3.1.7) At this point I have installed Codelite and built the wxWidgets libraries. To resolve a (perceived) issue with the helpvie...
by Widgets
Mon Jun 13, 2022 2:30 am
Forum: C++ Development
Topic: Trying to restore the sorted state in DataView
Replies: 2
Views: 288

Re: Trying to restore the sorted state in DataView

Thank you for the quick solution. The code #if defined( WANT_SORT_AT_START_UP ) // only sets the starting sort order if ( g_iniPrefs.data[IE_JOBLIST_LAST_COL_SORTED].dataCurrent.lVal == eJobListCols::eName ) { m_pJoblistColName->SetSortOrder( g_iniPrefs.data[IE_JOBLIST_LAST_COL_SORTED_STATE].dataCur...
by Widgets
Sun Jun 12, 2022 8:34 pm
Forum: C++ Development
Topic: Trying to restore the sorted state in DataView
Replies: 2
Views: 288

Trying to restore the sorted state in DataView

I am trying to restore the last used sort state on some columns of a wxDataViewList ctrl. On exit, I save which column, if any was sorted and whether it was ascending or descending. When the app is restarted, I would like to restore the same condition. Currently, the code I have, restores the sort d...
by Widgets
Sat Jan 29, 2022 4:26 pm
Forum: C++ Development
Topic: Accessing the PNG metadata
Replies: 7
Views: 722

Re: Accessing the PNG metadata

Simply because I want/need to access the metadata, or, in some cases need/want to know whether the file contains any or a specific metadata item or not!
This, for my need, applies to JPG, PNG, TIFF and possibly PDF files.
The image information is only part of the 'picture', if you pardon the pun :-)
by Widgets
Sat Jan 29, 2022 1:51 am
Forum: C++ Development
Topic: Accessing the PNG metadata
Replies: 7
Views: 722

Re: Accessing the PNG metadata

Pretty well all metadata, specially for PNG images. There are good, or better, libraries for JPG at least. What got me started on this quest is my interest in both genealogy and metadata. Gramps does have some built-in and optional facilities to display metadata for media which are part of its datab...
by Widgets
Fri Jan 28, 2022 7:12 pm
Forum: C++ Development
Topic: Accessing the PNG metadata
Replies: 7
Views: 722

Re: Accessing the PNG metadata

It looks like GetData() will NOT help me since it only gets the image data :cry: and all the rest is hidden.
Likely will have to load another copy of libpng and whatever support it will need - such as png++
by Widgets
Fri Jan 28, 2022 4:54 pm
Forum: C++ Development
Topic: Accessing the PNG metadata
Replies: 7
Views: 722

Re: Accessing the PNG metadata

At least I did not miss anything very obvious :-) From what I can tell, there is no option to help me get what I need. Unfortunately, easyexif seems to only be usable with JPG. The original PNG spec never contained any EXIF data a la JPG and many utilities do not recognize it. The current spec does ...
by Widgets
Fri Jan 28, 2022 2:46 am
Forum: C++ Development
Topic: Accessing the PNG metadata
Replies: 7
Views: 722

Accessing the PNG metadata

Since wxWidgets uses libpng, I was looking for a way to access the PNG chunks in order to read the metadata, but I have not been able to figure out how I can access these functions in libpng after loading a PNG image the usual wxWidgets wxPNGHandler:LoadFile() or, FWIW, any other way without having ...
by Widgets
Fri Dec 03, 2021 9:53 pm
Forum: C++ Development
Topic: wxAUI tool bar layout
Replies: 11
Views: 1033

Re: wxAUI tool bar layout

Thank you; either I never noticed or have forgotten about those little 'chevrons'. Never thought to click on them. It seems that what I understand to be the 'grippers', appear whether or not I have that style enabled. If I hover over them, the 'move' cursor shows up, but if I move any, the whole too...
by Widgets
Fri Dec 03, 2021 9:29 pm
Forum: C++ Development
Topic: wxAUI tool bar layout
Replies: 11
Views: 1033

Re: wxAUI tool bar layout

I much appreciate the time you have spent on this already. I did notice, that all of the graphics are bitmaps from the art provider. Is there really any 'overflow' and what should/could one expect from it? As I said, it is not a show stopper, though it is a bit of an ugly second best look. No big su...
by Widgets
Fri Dec 03, 2021 8:02 pm
Forum: C++ Development
Topic: wxAUI tool bar layout
Replies: 11
Views: 1033

Re: wxAUI tool bar layout

@PB My apologies, with my troubles of not being able to login for some time, I did not scroll back far enough to see your reply. I have tried all sorts of option & styles for the various tool bars & buttons, but none made much difference and no matter what I do, none of the tool bar panels m...