Search found 95 matches

by deepti
Tue Aug 06, 2019 12:39 pm
Forum: Database Related
Topic: Catching SQLITEFULL exception
Replies: 2
Views: 361

Re: Catching SQLITEFULL exception

Thank you Utelle for your detailed explanation.
by deepti
Tue Aug 06, 2019 12:38 pm
Forum: C++ Development
Topic: App exit seamlessly when system powered off
Replies: 2
Views: 53

App exit seamlessly when system powered off

Hi All, We have a wxWidgets based application. When user clicks "Exit" on the app, it exits smoothly without any crash. However, when the PC is shutdown while the app is running, the app crashes. Is there any event sent when the PC is shutdown, which can be caught by our application and then exit sm...
by deepti
Wed Jul 17, 2019 6:05 pm
Forum: Database Related
Topic: Catching SQLITEFULL exception
Replies: 2
Views: 361

Catching SQLITEFULL exception

Hi, Currently our application has several exception catch blocks like this: catch (wxSQLite3Exception& e) { //log the exception message } I read in the documentation that SQLITEFULL exception can occur even when writing to temporary files like journal files. Now, i need a way to shutdown the applica...
by deepti
Wed Jul 17, 2019 6:00 pm
Forum: Database Related
Topic: wxsqlite3 - can it be used in a multi-threaded application
Replies: 8
Views: 385

Re: wxsqlite3 - can it be used in a multi-threaded application

Thanks a ton for the detailed explanation. That is very helpful!
by deepti
Fri Jul 05, 2019 1:05 pm
Forum: Database Related
Topic: wxsqlite3 - can it be used in a multi-threaded application
Replies: 8
Views: 385

Re: wxsqlite3 - can it be used in a multi-threaded application

Thanks a lot utelle and doublemax for your replies. They were indeed helpful. There is one more question, where i need your help. We have the following lines in our application, and I noticed that when the DB size is very huge (a couple of GBs big), these lines take upto 2 minutes to execute. But, f...
by deepti
Fri Jun 28, 2019 2:00 pm
Forum: Database Related
Topic: wxsqlite3 - can it be used in a multi-threaded application
Replies: 8
Views: 385

Re: wxsqlite3 - can it be used in a multi-threaded application

Thank you doublemax. Does wxSqlite3 open the DB in serialized mode by default? From the docs i see that this is a primary requirement for safe multi-threaded access. The wxSQLite3Database::Open function internally calls "sqlite3_open". Whereas it is the "sqlite3_open_v2" function which actually prov...
by deepti
Fri Jun 28, 2019 11:00 am
Forum: Database Related
Topic: wxsqlite3 - can it be used in a multi-threaded application
Replies: 8
Views: 385

wxsqlite3 - can it be used in a multi-threaded application

Hi All, We are using wxsqlite3 (using source files) in our multi-threaded C++ application. There is only one instance of DB connection. So far we have been using a separate mutex. Whenever any thread wants to write/read the DB, it acquires the mutex and releases when done. Now, the GUI thread also a...
by deepti
Fri Feb 15, 2019 4:48 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

oh wow!! thanks a ton for trying out.
To me, it seems like since blue is the default color, it seems to be working.
If you get a chance, could you change the color, to say, red, and try please?
I am also trying another time at my end.
by deepti
Fri Feb 15, 2019 2:36 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

oh wow!! thanks a ton for trying out.
Yes, it executed that code.
To me, it seems like since blue is the default color, it seems to be working.
If you get a chance, could you change the color, to say, red, and try please?
I am also trying another time at my end.
by deepti
Thu Feb 14, 2019 5:24 pm
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

Yes, it works fine on Windows.. but has no effect on Mac :(
Is there any other way we can get it working for Mac? Please help!
by deepti
Thu Feb 14, 2019 10:35 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

wxGenericHyperlinkCtrl does not work either :(
Is there anything else I could try?
by deepti
Thu Feb 14, 2019 7:30 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

Re: wxHyperlinkCtrl - hover color and visited color not working on Mac

Thank you for your reply @doublemax.

In fact, i do not want the colours of wxHyperlinkCtrl to change, which is the default behavior on Windows.
by deepti
Thu Feb 14, 2019 6:27 am
Forum: Platform Related Issues
Topic: wxHyperlinkCtrl - hover color and visited color not working on Mac
Replies: 10
Views: 360

wxHyperlinkCtrl - hover color and visited color not working on Mac

Hi, I have a wxHyperlinkCtrl instance. On Mac, when the mouse is hovered over the control, or the link is clicked, the color changes to red and purple respectively. I am using the following functions, and setting the color to blue but they are not having any effect, and hover and click colors are st...
by deepti
Thu Feb 07, 2019 6:47 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 353

Re: wxDialog is displayed in the background only on Mac

Yes yes, the parent of the dialog is indeed NULL. Is it not supposed to be?

And i tried the taskbar sample too..it works fine. Even in this sample, the dialog's parent is set to NULL
by deepti
Thu Feb 07, 2019 5:37 pm
Forum: Platform Related Issues
Topic: wxDialog is displayed in the background only on Mac
Replies: 12
Views: 353

Re: wxDialog is displayed in the background only on Mac

All the dialogs appear correctly in the sample dialogs app. They are all seen in the foreground.
Is it because they are being opened as menu items?
Whereas in my case, it is on right-click option of the tray icon/docked icon at the top..