mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
fix listbox bug
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@667 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -307,6 +307,9 @@ static int create(MwWidget handle) {
|
|||||||
|
|
||||||
MwSetDefault(handle);
|
MwSetDefault(handle);
|
||||||
|
|
||||||
|
MwSetInteger(handle, MwNleftPadding, 0);
|
||||||
|
MwSetInteger(handle, MwNhasHeading, 0);
|
||||||
|
|
||||||
resize(handle);
|
resize(handle);
|
||||||
lb->list = NULL;
|
lb->list = NULL;
|
||||||
lb->selected = -1;
|
lb->selected = -1;
|
||||||
@@ -314,9 +317,6 @@ static int create(MwWidget handle) {
|
|||||||
lb->width = NULL;
|
lb->width = NULL;
|
||||||
lb->changed = 0;
|
lb->changed = 0;
|
||||||
|
|
||||||
MwSetInteger(handle, MwNleftPadding, 0);
|
|
||||||
MwSetInteger(handle, MwNhasHeading, 0);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user