fix listbox bug
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@667 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
76e0cff378
commit
dc7d8d359d
1 changed files with 3 additions and 3 deletions
|
|
@ -307,6 +307,9 @@ static int create(MwWidget handle) {
|
|||
|
||||
MwSetDefault(handle);
|
||||
|
||||
MwSetInteger(handle, MwNleftPadding, 0);
|
||||
MwSetInteger(handle, MwNhasHeading, 0);
|
||||
|
||||
resize(handle);
|
||||
lb->list = NULL;
|
||||
lb->selected = -1;
|
||||
|
|
@ -314,9 +317,6 @@ static int create(MwWidget handle) {
|
|||
lb->width = NULL;
|
||||
lb->changed = 0;
|
||||
|
||||
MwSetInteger(handle, MwNleftPadding, 0);
|
||||
MwSetInteger(handle, MwNhasHeading, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue