This commit is contained in:
parent
df50c9531c
commit
dac94c78e1
2 changed files with 1 additions and 2 deletions
|
|
@ -156,7 +156,6 @@ int main() {
|
||||||
|
|
||||||
window = MwVaCreateWidget(MwWindowClass, "window", NULL, MwDEFAULT, MwDEFAULT, 800, 800,
|
window = MwVaCreateWidget(MwWindowClass, "window", NULL, MwDEFAULT, MwDEFAULT, 800, 800,
|
||||||
MwNtitle, "Milsko Periodic Table",
|
MwNtitle, "Milsko Periodic Table",
|
||||||
MwNmodernLook, 0,
|
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
menu = MwCreateWidget(MwMenuClass, "menu", window, 0, 0, 0, 0);
|
menu = MwCreateWidget(MwMenuClass, "menu", window, 0, 0, 0, 0);
|
||||||
|
|
|
||||||
|
|
@ -363,7 +363,7 @@ int MwStep(MwWidget handle) {
|
||||||
|
|
||||||
handle->prop_event = 0;
|
handle->prop_event = 0;
|
||||||
|
|
||||||
if(handle->lowlevel != NULL && MwLLPending(handle->lowlevel))
|
while(handle->lowlevel != NULL && MwLLPending(handle->lowlevel))
|
||||||
MwLLNextEvent(handle->lowlevel);
|
MwLLNextEvent(handle->lowlevel);
|
||||||
|
|
||||||
handle->prop_event = 1;
|
handle->prop_event = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue