be set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28250
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
// Create the tree control.
#endif
// Create the tree control.
- if ( !MSWCreateControl(WC_TREEVIEW, wstyle) )
+ if ( !MSWCreateControl(WC_TREEVIEW, wstyle, pos, size) )
return false;
#if wxUSE_COMCTL32_SAFELY
return false;
#if wxUSE_COMCTL32_SAFELY
- SetSize(pos.x, pos.y, size.x, size.y);
-
wxSetCCUnicodeFormat(GetHwnd());
return true;
wxSetCCUnicodeFormat(GetHwnd());
return true;