X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f55d21ebb5d3392dd7e5990f7bdbb523f3089f6d..94c162795e6ebff164bcfc7bb9aa0138dd83b194:/contrib/samples/gizmos/editlbox/test.cpp diff --git a/contrib/samples/gizmos/editlbox/test.cpp b/contrib/samples/gizmos/editlbox/test.cpp index eb96a93698..d1976f6c6b 100644 --- a/contrib/samples/gizmos/editlbox/test.cpp +++ b/contrib/samples/gizmos/editlbox/test.cpp @@ -51,6 +51,7 @@ bool MyApp::OnInit() dlg.SetAutoLayout(TRUE); dlg.SetSizer(sizer); sizer->Fit(&dlg); + dlg.Centre(); dlg.ShowModal(); @@ -60,5 +61,5 @@ bool MyApp::OnInit() res << ar[i] << _T("\n"); wxMessageBox(res); - return TRUE; + return FALSE; }