Use long int literals to represent long constants in propgrid sample

This commit is contained in:
Artur Wieczorek
2019-05-26 18:52:43 +02:00
parent a93713f7f8
commit 50330b3a26
3 changed files with 21 additions and 21 deletions

View File

@@ -950,9 +950,9 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
RT_START_TEST(Attributes)
wxPGProperty* prop = pgman->GetProperty("StringProperty");
prop->SetAttribute("Dummy Attribute", (long)15);
prop->SetAttribute("Dummy Attribute", 15L);
if ( prop->GetAttribute("Dummy Attribute").GetLong() != 15 )
if ( prop->GetAttribute("Dummy Attribute").GetLong() != 15L )
RT_FAILURE();
prop->SetAttribute("Dummy Attribute", wxVariant());