Fixed bug with truncation of Unicode data in wxConnection under MSW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-08-09 11:07:29 +00:00
parent 8e254d94e2
commit b61d8079f5
3 changed files with 17 additions and 32 deletions

View 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;
}