mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
Changed resource names to be lowercase, and to match the filenames (or what they should be);
Replaced all direct construction of bitmaps and icons using wxBitmap("name") with load_resource_* calls.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@191 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -18,10 +18,10 @@ SelectCardList::SelectCardList(Window* parent, int id, long additional_style)
|
||||
{
|
||||
// create image list
|
||||
wxImageList* il = new wxImageList(15,15);
|
||||
il->Add(Bitmap(_("SORT_ASC")), Color(255,0,255));
|
||||
il->Add(Bitmap(_("SORT_DESC")), Color(255,0,255));
|
||||
il->Add(load_resource_image(_("DESELECTED")));
|
||||
il->Add(load_resource_image(_("SELECTED")));
|
||||
il->Add(load_resource_image(_("sort_asc")), Color(255,0,255));
|
||||
il->Add(load_resource_image(_("sort_desc")), Color(255,0,255));
|
||||
il->Add(load_resource_image(_("deselected")));
|
||||
il->Add(load_resource_image(_("selected")));
|
||||
AssignImageList(il, wxIMAGE_LIST_SMALL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user