X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b89c618454fad682c484e86310008f583b9ab55..3c002e048dfd61706f718e68a468f3e5488f8dc0:/samples/ipc/server.cpp diff --git a/samples/ipc/server.cpp b/samples/ipc/server.cpp index 4763f877e8..820bdefc8a 100644 --- a/samples/ipc/server.cpp +++ b/samples/ipc/server.cpp @@ -70,7 +70,7 @@ MyConnection *the_connection = NULL; bool MyApp::OnInit() { // Create the main frame window - (new MyFrame(NULL, "Server"))->Show(); + (new MyFrame(NULL, "Server"))->Show(TRUE); // create the server object wxString server_name = "4242"; @@ -215,7 +215,7 @@ bool MyConnection::OnPoke(const wxString& WXUNUSED(topic), int WXUNUSED(size), wxIPCFormat WXUNUSED(format)) { - wxLogStatus("Poke command: %s = %s", item, data); + wxLogStatus("Poke command: %s = %s", item.c_str(), data); return TRUE; }