Hi All,
wxStaticBox on Mac shows "Title" even when it's label is set to "".
But on Windows, this problem is not seen.
How can i get rid of this?
Please help!
wxStaticBox on Mac shows "Title" even when label is set to empty
-
- Earned some good credits
- Posts: 115
- Joined: Tue Jul 17, 2018 5:38 pm
-
- Part Of The Furniture
- Posts: 4204
- Joined: Sun Jan 03, 2010 5:45 pm
Re: wxStaticBox on Mac shows "Title" even when label is set to empty
Which wxWidgets version are you using? It seems same as this bug which has supposedly been fixed long time ago (at least in the 3.1 branch)?
-
- Earned some good credits
- Posts: 115
- Joined: Tue Jul 17, 2018 5:38 pm
Re: wxStaticBox on Mac shows "Title" even when label is set to empty
Thanks for your reply @PB.
I am using the 3.1.0 version of wxWidgets, and yet see this issue.
Should i be using the GIT repo of 3.1.0 for the fix ?
Please let me know
I am using the 3.1.0 version of wxWidgets, and yet see this issue.
Should i be using the GIT repo of 3.1.0 for the fix ?
Please let me know
-
- Part Of The Furniture
- Posts: 4204
- Joined: Sun Jan 03, 2010 5:45 pm
Re: wxStaticBox on Mac shows "Title" even when label is set to empty
wxWidgets 3.1.0 was released on Feb 29, 2016; the code supposed to fix the issue was commited on Apr 29, 2016.
So I guess it should be fixed in 3.1.1 and newer...
So I guess it should be fixed in 3.1.1 and newer...
-
- Earned some good credits
- Posts: 115
- Joined: Tue Jul 17, 2018 5:38 pm
Re: wxStaticBox on Mac shows "Title" even when label is set to empty
I just used the code in the patch and it worked.. Thanks a lot!
-
- Part Of The Furniture
- Posts: 4204
- Joined: Sun Jan 03, 2010 5:45 pm
Re: wxStaticBox on Mac shows "Title" even when label is set to empty
OK, but I would advise switching to the last relase of the 3.1 branch, either 3.1.1 (officially released) or the GIT master. Patching the library, particularly when not needed, may not be the best future-proof way.
BTW, if possible, please mark the solved threads as such, so it is clear there are closed. There should be a button for this in the posts and you should click it for the post that helped most solving the issue.
BTW, if possible, please mark the solved threads as such, so it is clear there are closed. There should be a button for this in the posts and you should click it for the post that helped most solving the issue.