]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/editlbox/test.cpp
added test for HitTest(m_dragPoint) bug to the sample
[wxWidgets.git] / contrib / samples / gizmos / editlbox / test.cpp
index eb96a93698fbcdccc4c91cb63e7cf2de7269035b..d1976f6c6b27ccd81b771dd3e553c93406688eca 100644 (file)
@@ -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;
 }