X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6574f2b143d9f33ef1e8c3ee4f43e44b657ecbe4..409a7ba772648e08302956e9bf37e04015d1bb0e:/src/generic/treectlg.cpp?ds=sidebyside diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index b733643760..ed8dacdd7b 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -261,12 +261,12 @@ private: // tree ctrl images for the normal, selected, expanded and // expanded+selected states - short m_images[wxTreeItemIcon_Max]; + int m_images[wxTreeItemIcon_Max]; wxCoord m_x; // (virtual) offset from top wxCoord m_y; // (virtual) offset from left - short m_width; // width of this item - unsigned char m_height; // height of this item + int m_width; // width of this item + int m_height; // height of this item // use bitfields to save size int m_isCollapsed :1; @@ -765,7 +765,7 @@ void wxGenericTreeCtrl::Init() m_lastOnSame = false; -#if defined( __WXMAC__ ) && __WXMAC_CARBON__ +#ifdef __WXMAC_CARBON__ m_normalFont.MacCreateThemeFont( kThemeViewsFont ) ; #else m_normalFont = wxSystemSettings::GetFont( wxSYS_DEFAULT_GUI_FONT );