- bool want3D;
- WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D) ;
+ WXDWORD exStyle = 0;
+ long valueStyle = m_windowStyle & ~wxBORDER_MASK;
+ valueStyle |= wxBORDER_SUNKEN;
+ msStyle |= MSWGetStyle(valueStyle, & exStyle) ;
- MakeExtendedStyle(m_windowStyle), TRACKBAR_CLASS, wxT(""),
+ exStyle, TRACKBAR_CLASS, wxT(""),
msStyle,
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
wxGetInstance(), NULL
msStyle,
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
wxGetInstance(), NULL