wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.55k stars 1.81k forks source link

"Edit Properties" and "Delete Object" in Dialog Editor #4880

Closed wxtrac closed 3 years ago

wxtrac commented 24 years ago

Issue migrated from trac ticket # 4880

component: samples | priority: normal

2000-12-18 21:05:29: anonymous created the issue

wxtrac commented 24 years ago

2000-12-18 21:05:29: nobody uploaded file None (2.6 KiB)

None

wxtrac commented 24 years ago

2000-12-19 03:01:23: georgetasker (George Tasker) commented


Actually, the only thing needed is to change one line in reseditr.cpp. In ObjectMenuProc(), the switch statement says:

switch (event.GetInt())

but it should have said:

switch (event.GetId())

This change is now checked in to the main CVS trunk.