]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/mdig.cpp
concentrating content and structure region calculations
[wxWidgets.git] / src / generic / mdig.cpp
index 3a2c74d4d2bc7b09d971a28cc0b828d8de3e5c5a..e0b951be0e7b369d28c20b8b8bc1dc49d85431ba 100644 (file)
@@ -439,7 +439,7 @@ wxGenericMDIChildFrame::~wxGenericMDIChildFrame()
             }
             else
             {
-                if (pClientWindow->GetPageCount() - 1 >= 0)
+                if ((int)pClientWindow->GetPageCount() - 1 >= 0)
                     pClientWindow->SetSelection(pClientWindow->GetPageCount() - 1);
             }
         }
@@ -714,7 +714,7 @@ bool wxGenericMDIClientWindow::CreateClient( wxGenericMDIParentFrame *parent, lo
         return FALSE;
 }
 
-int wxGenericMDIClientWindow::SetSelection(int nPage)
+int wxGenericMDIClientWindow::SetSelection(size_t nPage)
 {
     int oldSelection = wxNotebook::SetSelection(nPage);