]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/scoredg.cpp
Update files.bkl to match the changes Stefan made to Makefile.in earlier, to update...
[wxWidgets.git] / demos / forty / scoredg.cpp
index d8344f3eb0fe913844d8ab09d15fa9c49b218db6..ecd1bb44f4dde5b848d3e89117d65a1e6902f882 100644 (file)
@@ -181,7 +181,7 @@ ScoreDialog::ScoreDialog(wxWindow* parent, ScoreFile* file) :
     ScoreCanvas* list = new ScoreCanvas(this, m_scoreFile, wxDefaultPosition, sz);
 #endif
 
-    list->SetBestFittingSize(sz);
+    list->SetInitialSize(sz);
 
     // locate and resize with sizers
     wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );