X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8520f1374ceec64abae3802984c4f8654d8836ba..c4e2838090992384911a6a6aa44cac985d79a555:/samples/ipc/server.cpp?ds=sidebyside 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; }