]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
GetSocketManager() has no GUI-specific version under Darwin finally
[wxWidgets.git] / samples / artprov / artbrows.cpp
index f4b8eb666f10102cafa1f1baaa3f4e520516b621..599c36c9c362183939835a5475d704af9b6a1e1c 100644 (file)
@@ -162,8 +162,7 @@ wxArtBrowserDialog::wxArtBrowserDialog(wxWindow *parent)
     ok->SetDefault();
     sizer->Add(ok, 0, wxALIGN_RIGHT | wxALL, 10);
 
-    SetSizer(sizer);
-    sizer->Fit(this);
+    SetSizerAndFit(sizer);
 
     choice->SetSelection(6/*wxART_MESSAGE_BOX*/);
     SetArtClient(wxART_MESSAGE_BOX);