From 938593c00a2010ad4890d9cbf78f6f941a1b8907 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Tue, 16 Sep 2008 16:00:42 +0000 Subject: [PATCH] Removed some test code left in a long time ago git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 5dd2dac49d..d226118377 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -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(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 ) ); -- 2.45.2