X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8520f1374ceec64abae3802984c4f8654d8836ba..3285ee538be44537a0d4e43252db18f5e7362782:/samples/ipc/server.cpp diff --git a/samples/ipc/server.cpp b/samples/ipc/server.cpp index 0ea33ed6bf..562f9bb9f2 100644 --- a/samples/ipc/server.cpp +++ b/samples/ipc/server.cpp @@ -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; }