///////////////////////////////////////////////////////////////////////////////
// ============================================================================
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
#define GetBuddyHwnd() (HWND)(m_hwndBuddy)
#define IsVertical(wxStyle) ( (wxStyle & wxSP_HORIZONTAL) != wxSP_HORIZONTAL )
#define GetBuddyHwnd() (HWND)(m_hwndBuddy)
#define IsVertical(wxStyle) ( (wxStyle & wxSP_HORIZONTAL) != wxSP_HORIZONTAL )
m_hwndBuddy = (WXHWND)::CreateWindowEx
(
exStyle, // sunken border
m_hwndBuddy = (WXHWND)::CreateWindowEx
(
exStyle, // sunken border
NULL, // no window title
msStyle, // style (will be shown later)
pos.x, pos.y, // position
NULL, // no window title
msStyle, // style (will be shown later)
pos.x, pos.y, // position
}
if ( !::MoveWindow(GetBuddyHwnd(), x, y, widthText, height, TRUE) )
}
if ( !::MoveWindow(GetBuddyHwnd(), x, y, widthText, height, TRUE) )