Update samples/other/customtablewidget.ring to still work in Ring 1.12 too!
@@ -12,9 +12,9 @@ app = new QApp {
func CreateTable oParent
# We use open_window() to be able to use the Method() function for events
- open_object(:CustomTable)
- last_object().init(oParent)
- return last_object()
+ open_window(:CustomTable)
+ last_window().init(oParent)
+ return last_window()
class CustomTable from QTableWidget
