// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
- HWND scroll_bar = CreateWindowEx(exStyle, wxT("SCROLLBAR"), wxT(""),
+ HWND scroll_bar = CreateWindowEx(exStyle, wxT("SCROLLBAR"), wxEmptyString,
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);
SetSize(x, y, width, height);
SetValue(value);
SetSize(x, y, width, height);
SetValue(value);
- wxGetCharSize(GetHWND(), &cx, &cy,& this->GetFont());
+ wxGetCharSize(GetHWND(), &cx, &cy, this->GetFont());
- MoveWindow((HWND) m_staticValue, x_offset, y_offset, new_width, valueHeight, TRUE);
+ ::MoveWindow((HWND) m_staticValue, x_offset, y_offset, new_width, valueHeight, TRUE);
- MoveWindow((HWND) m_staticMin, x_offset, y_offset, (int)min_len, cy, TRUE);
+ ::MoveWindow((HWND) m_staticMin, x_offset, y_offset, (int)min_len, cy, TRUE);
- MoveWindow(GetHwnd(), x_offset, y_offset, slider_length, slider_height, TRUE);
+ ::MoveWindow(GetHwnd(), x_offset, y_offset, slider_length, slider_height, TRUE);
- MoveWindow((HWND) m_staticMax, x_offset, y_offset, (int)max_len, cy, TRUE);
+ ::MoveWindow((HWND) m_staticMax, x_offset, y_offset, (int)max_len, cy, TRUE);
- MoveWindow(GetHwnd(), x1, y1, w1, h1, TRUE);
+ ::MoveWindow(GetHwnd(), x1, y1, w1, h1, TRUE);
- MoveWindow((HWND) m_staticValue, x_offset, y_offset, new_width, valueHeight, TRUE);
+ ::MoveWindow((HWND) m_staticValue, x_offset, y_offset, new_width, valueHeight, TRUE);
- MoveWindow((HWND) m_staticMin, x_offset, y_offset, (int)min_len, cy, TRUE);
+ ::MoveWindow((HWND) m_staticMin, x_offset, y_offset, (int)min_len, cy, TRUE);
- MoveWindow(GetHwnd(), x_offset, y_offset, slider_width, slider_length, TRUE);
+ ::MoveWindow(GetHwnd(), x_offset, y_offset, slider_width, slider_length, TRUE);
- MoveWindow((HWND) m_staticMax, x_offset, y_offset, (int)max_len, cy, TRUE);
+ ::MoveWindow((HWND) m_staticMax, x_offset, y_offset, (int)max_len, cy, TRUE);
- MoveWindow(GetHwnd(), x1, y1, w1, h1, TRUE);
+ ::MoveWindow(GetHwnd(), x1, y1, w1, h1, TRUE);
ShowWindow((HWND) m_staticMin, (BOOL)cshow);
if(m_staticMax)
ShowWindow((HWND) m_staticMax, (BOOL)cshow);
ShowWindow((HWND) m_staticMin, (BOOL)cshow);
if(m_staticMax)
ShowWindow((HWND) m_staticMax, (BOOL)cshow);