Search found 115 matches
- Fri Aug 23, 2019 11:50 am
- Forum: Platform Related Issues
- Topic: wxRadioBox appearance on Mac is messed up
- Replies: 4
- Views: 1179
Re: wxRadioBox appearance on Mac is messed up
The issue is that for the size of the radiobox, if i use wxDefaultSize, then it looks ok. But if i use shareOptionsSize (which is wxSize(185,-1)) , then it appears messed up, only on Mac. But looks perfect on Windows There are 4 radioboxes one below the other. So, for better appearance i want the si...
- Fri Aug 23, 2019 8:30 am
- Forum: C++ Development
- Topic: App exit seamlessly when system powered off
- Replies: 9
- Views: 1280
Re: App exit seamlessly when system powered off
Hi @doublemax, Thanks a ton for your response. Here is my code. WxSyncApp derives from wxApp. BEGIN_EVENT_TABLE(WxSyncApp, wxApp) EVT_END_SESSION(WxSyncApp::OnAppEndSession) END_EVENT_TABLE() void WxSyncApp::OnAppEndSession(wxCloseEvent &event) { // option 1: close mainframe //m_frame->Close(); ...
- Thu Aug 22, 2019 6:05 am
- Forum: Platform Related Issues
- Topic: wxRadioBox appearance on Mac is messed up
- Replies: 4
- Views: 1179
Re: wxRadioBox appearance on Mac is messed up
Can anyone help me on this please?
- Wed Aug 21, 2019 7:43 pm
- Forum: C++ Development
- Topic: App exit seamlessly when system powered off
- Replies: 9
- Views: 1280
Re: App exit seamlessly when system powered off
Thank you for your responses.
I am a bit unclear on which all events need to be handled. Basically looking for clean exit when system is powered off when app is running.
Could you elaborate with some sample code please?
Thank you!
I am a bit unclear on which all events need to be handled. Basically looking for clean exit when system is powered off when app is running.
Could you elaborate with some sample code please?
Thank you!
- Wed Aug 21, 2019 7:06 pm
- Forum: Platform Related Issues
- Topic: wxRadioBox appearance on Mac is messed up
- Replies: 4
- Views: 1179
wxRadioBox appearance on Mac is messed up
Hi All, The following Radio Box implementation looks fine on Windows. But on Mac, the buttons appear with lots of spaces before the first button and also in between two buttons! How can i fix this? Please help. wxBoxSizer* itemBoxSizer7 = new wxBoxSizer(wxVERTICAL); wxArrayString expireOptions = wxA...
- Tue Aug 06, 2019 12:39 pm
- Forum: Database Related
- Topic: Catching SQLITEFULL exception
- Replies: 2
- Views: 11287
Re: Catching SQLITEFULL exception
Thank you Utelle for your detailed explanation.
- Tue Aug 06, 2019 12:38 pm
- Forum: C++ Development
- Topic: App exit seamlessly when system powered off
- Replies: 9
- Views: 1280
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 th...
- Wed Jul 17, 2019 6:05 pm
- Forum: Database Related
- Topic: Catching SQLITEFULL exception
- Replies: 2
- Views: 11287
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 app...
- Wed Jul 17, 2019 6:00 pm
- Forum: Database Related
- Topic: wxsqlite3 - can it be used in a multi-threaded application
- Replies: 8
- Views: 13692
Re: wxsqlite3 - can it be used in a multi-threaded application
Thanks a ton for the detailed explanation. That is very helpful!
- Fri Jul 05, 2019 1:05 pm
- Forum: Database Related
- Topic: wxsqlite3 - can it be used in a multi-threaded application
- Replies: 8
- Views: 13692
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...
- Fri Jun 28, 2019 2:00 pm
- Forum: Database Related
- Topic: wxsqlite3 - can it be used in a multi-threaded application
- Replies: 8
- Views: 13692
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...
- Fri Jun 28, 2019 11:00 am
- Forum: Database Related
- Topic: wxsqlite3 - can it be used in a multi-threaded application
- Replies: 8
- Views: 13692
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...
- 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: 1912
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.
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.
- 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: 1912
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.
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.
- 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: 1912
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!
Is there any other way we can get it working for Mac? Please help!