]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/thread/test.cpp
minValue and maxValue are interpreted correctly in SetRange() (were inversed)
[wxWidgets.git] / samples / thread / test.cpp
index fac0311c97555a11cd237533af5d6a28d9d113fd..279a3d98b1bfc2113d67e7c0731c36e9cb5012f5 100644 (file)
@@ -117,7 +117,7 @@ IMPLEMENT_APP       (MyApp)
 bool MyApp::OnInit(void)
 {
   // Create the main frame window
-  MyFrame *frame = new MyFrame(NULL, "Minimal wxWindows App", 50, 50, 450, 340);
+  MyFrame *frame = new MyFrame((wxFrame *) NULL, (char *) "Minimal wxWindows App", 50, 50, 450, 340);
 
   // Make a menubar
   wxMenu *file_menu = new wxMenu;
@@ -178,7 +178,7 @@ void MyFrame::OnPauseThread(wxCommandEvent& WXUNUSED(event) )
 
 void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
 {
-  uint i;
+  unsigned int i;
   for (i=0;i<m_threads.Count();i++)
     delete (m_threads[i]);
   Close(TRUE);