]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed some test code left in a long time ago
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 16 Sep 2008 16:00:42 +0000 (16:00 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 16 Sep 2008 16:00:42 +0000 (16:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/propgrid/propgrid.cpp

index 5dd2dac49df8d33f3de103726ee54b0ecadb36be..d226118377c332590bba629dcba4fb783c5e4d6a 100644 (file)
@@ -1386,29 +1386,6 @@ void FormMain::PopulateWithExamples ()
     pg->SetPropertyHelpString( wxT("BoolProperty with CheckBox"),
         wxT("Property attribute wxPG_BOOL_USE_CHECKBOX has been set to true.") );
 
-
-    wxPGProperty* lineThickProp;
-    wxPGProperty* lineThickUnitProp;
-    lineThickProp = new wxFloatProperty(wxT("Line Thickness"));
-    lineThickProp->SetEditor(wxPG_EDITOR(SpinCtrl));
-    lineThickProp->SetAttribute(wxT("Min"), wxVariant(0.01));
-
-     wxPGChoices choices;
-     choices.Add(wxT("millimetres"), 1);
-     choices.Add(wxT("inches"), 2);
-    lineThickUnitProp = new wxEnumProperty(
-             wxT("Unit"), wxPG_LABEL, choices,
-             static_cast<int>(1));
-
-     pg->Append(lineThickProp);
-     pg->AppendIn(lineThickProp, lineThickUnitProp);
-
-     lineThickProp->SetValue(wxVariant());
-     /*if (!pg->HideProperty(lineThickUnitProp, true))
-     {
-             return; 
-     }*/
-
      pid = pg->Append( new wxFloatProperty( wxT("FloatProperty"),
                                        wxPG_LABEL,
                                        1234500.23 ) );