changed default image size to 16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -417,7 +417,7 @@ void MyFrame::OnSetImageSize(wxCommandEvent& event)
|
|||||||
long size = wxGetNumberFromUser("Enter the size for the images to use",
|
long size = wxGetNumberFromUser("Enter the size for the images to use",
|
||||||
"Size: ",
|
"Size: ",
|
||||||
"TreeCtrl sample",
|
"TreeCtrl sample",
|
||||||
32);
|
16);
|
||||||
if ( size == -1 )
|
if ( size == -1 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -74,7 +74,7 @@ public:
|
|||||||
|
|
||||||
void GetItemsRecursively(const wxTreeItemId& idParent, long cookie);
|
void GetItemsRecursively(const wxTreeItemId& idParent, long cookie);
|
||||||
|
|
||||||
void CreateImageList(int size = 32);
|
void CreateImageList(int size = 16);
|
||||||
|
|
||||||
void AddTestItemsToTree(size_t numChildren, size_t depth);
|
void AddTestItemsToTree(size_t numChildren, size_t depth);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user