From: Jaakko Salli Date: Sun, 4 Jan 2009 18:38:00 +0000 (+0000) Subject: Added bool property to the nested car sample (for testing purposes) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/80f711024a5324b14a5b348e78623fd1d9884862 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 --- 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"