Closed wxtrac closed 2 years ago
notebook.cpp.patch
(2.2 KiB)patch
I think it's just going to replace questions "why doesn't my notebook have the tabs on the left/right/bottom" with "why isn't my notebook themed". I honestly don't know what is preferrable...
Well, my preference (obviously) is for the fallback. Making a best try at support is preferable to just no support imo - I'm sure there will still be plenty of questions, but I find the answer "XP doesn't support it so we do what we can" more satisfying than "XP doesn't support it so we turn it off".
Hi, this does seem to be a better solution than giving up, so now applied to both branches, thanks.
Issue migrated from trac ticket # 7688
component: wxMSW | priority: low
2006-01-22 19:37:42: arkanes created the issue
This patch will fall back to an unthemed wxNotebook when an unsupported notebook orientation (wxNB_BOTTOM|wxNB_LEFT|wxNB_RIGHT) is requested, by disabling the XP theme.
If uxtheme is not available (but comctl32 version is still 6), then it will use the old behavior of clearing the styles.
It's not an optimal solution, but I think it is better than simply failing to support other orientations at all.