From 80f711024a5324b14a5b348e78623fd1d9884862 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 4 Jan 2009 18:38:00 +0000 Subject: [PATCH] Added bool property to the nested car sample (for testing purposes) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index b41ca175ee..31c1483878 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -1660,6 +1660,10 @@ void FormMain::PopulateWithExamples () wxPG_LABEL, 300000) ); + pg->AppendIn(carProp, new wxBoolProperty(wxT("Convertible"), + wxPG_LABEL, + false) ); + // Displayed value of "Car" property is now very close to this: // "Lamborghini Diablo SV; 5707 [300; 3.9; 8.6] 300000" -- 2.45.2