mirror of
https://github.com/blondie7575/WeeGUI.git
synced 2024-12-14 06:31:06 +00:00
fix the quit button (was calling a line number that doesn’t exist)
This commit is contained in:
parent
ef9deca5b9
commit
5d1f41bd48
5
mddemo.b
5
mddemo.b
@ -15,7 +15,7 @@
|
||||
#define BedroomCheckBoxID 6
|
||||
#define QuitButtonID 7
|
||||
|
||||
print chr$(4)"brun weegui"
|
||||
print "^Dbrun weegui"
|
||||
WGDesktop
|
||||
WGCreateView(TextViewID,DecoratedView,2,15,76,7,76,40)
|
||||
WGViewSetTitle("Help")
|
||||
@ -42,7 +42,7 @@
|
||||
WGCreateCheckbox(LoungeCheckBoxID,42,6,"Lounge")
|
||||
WGCreateCheckbox(BedroomCheckBoxID,42,8,"Bedroom")
|
||||
gosub OpenGarageAction
|
||||
WGCreateButton(QuitButtonID,71,1,8,10000,"Quit")
|
||||
WGCreateButton(QuitButtonID,71,1,8,QuitAction,"Quit")
|
||||
WGSelectView(0)
|
||||
WGEnableMouse
|
||||
|
||||
@ -72,6 +72,7 @@
|
||||
endif
|
||||
until key% = QuitChar
|
||||
|
||||
QuitAction:
|
||||
WGDisableMouse
|
||||
WGExit
|
||||
home
|
||||
|
Loading…
Reference in New Issue
Block a user