]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/griddemo.cpp
Removed CF_NOSIMULATIONS flag to increase range of available fonts
[wxWidgets.git] / samples / grid / griddemo.cpp
index 86f387a6294aea39fbe42155bf173cc1b7717b3f..9464900565567dc776f81a645c44953e5c2ab27d 100644 (file)
@@ -722,7 +722,8 @@ void GridFrame::SetCellBgColour( wxCommandEvent& WXUNUSED(ev) )
     {
         // Check the new Refresh function by passing it a rectangle
         // which exactly fits the grid.
-        wxRect r(wxPoint(0, 0), grid->GetSize());
+        wxPoint pt(0, 0);
+        wxRect r(pt, grid->GetSize());
         grid->SetDefaultCellBackgroundColour(col);
         grid->Refresh(true, &r);
     }
@@ -1349,10 +1350,6 @@ wxString BugsGridTable::GetColLabelValue( int col )
     return headers[col];
 }
 
-BugsGridTable::BugsGridTable()
-{
-}
-
 // ----------------------------------------------------------------------------
 // BugsGridFrame
 // ----------------------------------------------------------------------------