]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
wxTreeCtrl::IsVisible() fix fix - a (LPARAM) typecast was lost in the last checkin
[wxWidgets.git] / src / msw / scrolbar.cpp
index 2971968636a8dc50a3eb955f647d366329f22def..955d42de97ddd91cf5c3b22ddcc0c39ed284c709 100644 (file)
@@ -84,7 +84,7 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
     // Now create scrollbar
     DWORD _direction = (style & wxHORIZONTAL) ?
                         SBS_HORZ: SBS_VERT;
-    HWND scroll_bar = CreateWindowEx(MakeExtendedStyle(style), T("SCROLLBAR"), T("scrollbar"),
+    HWND scroll_bar = CreateWindowEx(MakeExtendedStyle(style), wxT("SCROLLBAR"), wxT("scrollbar"),
                          _direction | WS_CHILD | WS_VISIBLE,
                          0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId,
                          wxGetInstance(), NULL);