]> git.saurik.com Git - wxWidgets.git/commitdiff
Added bool property to the nested car sample (for testing purposes)
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 4 Jan 2009 18:38:00 +0000 (18:38 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 4 Jan 2009 18:38:00 +0000 (18:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/propgrid/propgrid.cpp

index b41ca175eed5e614d9af7d7d66a136bbfb567794..31c148387887ed217ebbd34ab9065dd62991a867 100644 (file)
@@ -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"