]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/ipc/server.cpp
media sample
[wxWidgets.git] / samples / ipc / server.cpp
index 0ea33ed6bf3f1b27bf639a06b7d7ce88e574c11c..562f9bb9f2b4acdab4d7713c8ae3a4c1a038eccb 100644 (file)
@@ -120,7 +120,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title)
     SetMenuBar(menu_bar);
 
     // Make a listbox
-    wxListBox *list = new wxListBox(this, SERVER_LISTBOX, wxPoint(5, 5));
+    wxListBox *list = new wxListBox(this, SERVER_LISTBOX);
     list->Append(_T("Apple"));
     list->Append(_T("Pear"));
     list->Append(_T("Orange"));
@@ -200,7 +200,7 @@ MyConnection::MyConnection()
             : wxConnection()
 {
     dialog = new IPCDialogBox(wxTheApp->GetTopWindow(), _T("Connection"),
-                              wxPoint(100, 100), wxSize(500, 500), this);
+                              wxDefaultPosition, wxDefaultSize, this);
     dialog->Show(true);
     the_connection = this;
 }