Correct flat notebook border style under WinCE in wake of
wxControl default border style change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -258,6 +258,13 @@ bool wxNotebook::Create(wxWindow *parent,
|
|||||||
long style,
|
long style,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXWINCE__
|
||||||
|
// Not sure why, but without this style, there is no border
|
||||||
|
// around the notebook tabs.
|
||||||
|
if (style & wxNB_FLAT)
|
||||||
|
style |= wxBORDER_SUNKEN;
|
||||||
|
#endif
|
||||||
|
|
||||||
// comctl32.dll 6.0 doesn't support non-top tabs with visual styles (the
|
// comctl32.dll 6.0 doesn't support non-top tabs with visual styles (the
|
||||||
// control is simply not rendered correctly), so disable them in this case
|
// control is simply not rendered correctly), so disable them in this case
|
||||||
const int verComCtl32 = wxApp::GetComCtl32Version();
|
const int verComCtl32 = wxApp::GetComCtl32Version();
|
||||||
|
Reference in New Issue
Block a user